From: Junio C Hamano Date: Tue, 23 Jan 2018 21:16:36 +0000 (-0800) Subject: Merge branch 'jm/svn-pushmergeinfo-fix' X-Git-Tag: v2.17.0-rc0~151 X-Git-Url: https://www.git.lorimer.id.au/gitweb.git/diff_plain/a713fb59e701065efefb82cc862a889d96d6a9c6?hp=bc3dca07f435ed2ca5a974cdb0508f66cf442412 Merge branch 'jm/svn-pushmergeinfo-fix' "git svn dcommit" did not take into account the fact that a svn+ssh:// URL with a username@ (typically used for pushing) refers to the same SVN repository without the username@ and failed when svn.pushmergeinfo option is set. * jm/svn-pushmergeinfo-fix: git-svn: fix svn.pushmergeinfo handling of svn+ssh usernames. --- diff --git a/git-svn.perl b/git-svn.perl index aa242d4f4f..76a75d0b3d 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -931,6 +931,7 @@ sub cmd_dcommit { # information from different SVN repos, and paths # which are not underneath this repository root. my $rooturl = $gs->repos_root; + Git::SVN::remove_username($rooturl); foreach my $d (@$linear_refs) { my %parentshash; read_commit_parents(\%parentshash, $d);