@matheusbsbs / matheus-bagliano / commits / 645833b564
Fork 0

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.

Eric Wong committed May 12, 2007 at 14:36 UTC 645833b564f585a25acd75c878ffda752909c273
1 file changed +1 -1
git-svn.perl
+1 -1
@@ -393,7 +393,7 @@ sub cmd_dcommit {
393 } else {
394 my %ed_opts = ( r => $last_rev,
395 log => get_commit_entry($d)->{log},
396 - ra => Git::SVN::Ra->new($url),
396 + ra => Git::SVN::Ra->new($gs->full_url),
397 tree_a => "$d~1",
398 tree_b => $d,
399 editor_cb => sub {