aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-05-12 14:36:20 -0700
committerJunio C Hamano <junkio@cox.net>2007-05-13 12:10:42 -0700
commit645833b564f585a25acd75c878ffda752909c273 (patch)
treeb942d25f85f8759238ced6ccb4f192ba934741a6
parentb24dd51bf6102f5341d4753fad8ff73413ca66d3 (diff)
downloadgit-645833b564f585a25acd75c878ffda752909c273.tar.gz
git-645833b564f585a25acd75c878ffda752909c273.tar.xz
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.
-rwxr-xr-xgit-svn.perl2
1 files changed, 1 insertions, 1 deletions
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 {