git-svn: fix rel_path() when not connected to the repository root
commit0b59451c1be6be3d0df80be9dc8aeedb355ca44b
authorEric Wong <normalperson@yhbt.net>
Sun, 25 Mar 2007 23:35:31 +0000 (25 16:35 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 26 Mar 2007 01:01:28 +0000 (25 18:01 -0700)
treef13c96c812978acc5818714cea868edd230378de
parent3301521a2584128c23cae14bebbe260326dbcedf
git-svn: fix rel_path() when not connected to the repository root

This should fix fetching for people who did not use
"git svn --minimize" or cannot connect to the repository root
due to the lack of permissions.

I'm not sure what I was on when I made the change to the
rel_path() function in 4e9f6cc78e5d955bd0faffe76ae9aea6590189f1
that made it die() when we weren't connected to the repository
root :x

Thanks to Sven Verdoolaege for reporting this bug.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-svn.perl