From: Eric Wong Date: Sat, 12 May 2007 21:36:20 +0000 (-0700) Subject: git-svn: don't drop the username from URLs when dcommit is run X-Git-Tag: v1.5.1.5~19 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=645833b564f585a25acd75c878ffda752909c273;p=git.git git-svn: don't drop the username from URLs when dcommit is run We no longer store usernames in URLs stored in git-svn-id lines for dcommit, so we shouldn't rely on those URLs when connecting to the remote repository to commit. --- diff --git a/git-svn.perl b/git-svn.perl index 3c4f490b7..d74e6d311 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -393,7 +393,7 @@ sub cmd_dcommit { } else { my %ed_opts = ( r => $last_rev, log => get_commit_entry($d)->{log}, - ra => Git::SVN::Ra->new($url), + ra => Git::SVN::Ra->new($gs->full_url), tree_a => "$d~1", tree_b => $d, editor_cb => sub {