Code

Trim leading / off of paths in git-svn prop_walk
authorKevin Ballard <kevin@sb.org>
Wed, 9 Jan 2008 06:37:20 +0000 (01:37 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Jan 2008 22:56:49 +0000 (14:56 -0800)
commit35cda061640c26371d5841099ad30c6968d510b2
tree09225500858c49261157a5a39d8398253cf05972
parent08359b0067a2ab9ced6e80d01a9787fa8f4d4639
Trim leading / off of paths in git-svn prop_walk

prop_walk adds a leading / to all subdirectory paths. Unfortunately
this causes a problem when the remote repo lives in a subdirectory itself,
as the leading / causes subsequent PROPFIND calls to be executed on
the wrong path. Trimming the / before calling the PROPFIND fixes this problem.

Signed-off-by: Kevin Ballard <kevin@sb.org>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-svn.perl