Skip to content

Commit

Permalink
git-svn: don't drop the username from URLs when dcommit is run
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Eric Wong authored and Junio C Hamano committed May 13, 2007
1 parent b24dd51 commit 645833b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-svn.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 645833b

Please sign in to comment.