git-svn: properly set path for "info" command
authorEric Wong <normalperson@yhbt.net>
Tue, 5 Aug 2008 07:35:16 +0000 (00:35 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 6 Aug 2008 04:21:19 +0000 (21:21 -0700)
canonicalize_path() was previously changed to better
fit SVN 1.5, but it makes the "info" command not match
svn(1) in two places:

1) URL ended up with a trailing slash when run without an
argument.

2) "Path: " was displayed instead of "Path: ." when run
without an argument.

We will also handle odd cases where a user wants to
get information on a file or directory named "0", too.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found