Browse Source

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.
maint
Eric Wong 18 years ago committed by Junio C Hamano
parent
commit
645833b564
  1. 2
      git-svn.perl

2
git-svn.perl

@ -393,7 +393,7 @@ sub cmd_dcommit { @@ -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 {

Loading…
Cancel
Save