Skip to content

Commit 645833b

Browse files
Eric WongJunio C Hamano
authored andcommitted
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.
1 parent b24dd51 commit 645833b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-svn.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ sub cmd_dcommit {
393393
} else {
394394
my %ed_opts = ( r => $last_rev,
395395
log => get_commit_entry($d)->{log},
396-
ra => Git::SVN::Ra->new($url),
396+
ra => Git::SVN::Ra->new($gs->full_url),
397397
tree_a => "$d~1",
398398
tree_b => $d,
399399
editor_cb => sub {

0 commit comments

Comments
 (0)