Code

git svn: branch/tag commands detect username in URLs
authorEric Wong <normalperson@yhbt.net>
Wed, 23 Dec 2009 06:40:18 +0000 (22:40 -0800)
committerEric Wong <normalperson@yhbt.net>
Wed, 23 Dec 2009 19:58:05 +0000 (11:58 -0800)
commit150d38c4f3733b38c2c212469afa162a55e0e99d
tree010d784cdf08c9d3b35cb8e62e66f842b35ea4c3
parent129a5a6deacfe6ffb32291fcd96e0d1567f780b2
git svn: branch/tag commands detect username in URLs

svn+ssh:// repositories often have userinfo embedded in the URL
which were stripped out of the "git-svn-id:" trailers.  Since
the SVN::Client::copy function takes userinfo into account when
matching URLs for SVN repositories, we need to retrieve the full
URL with embedded userinfo in it to avoid mismatched URLs.

Tested-by: Florian Köberle <florian@fkoeberle.de>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl