git-svn: avoid self-referencing mergeinfo
commite234ac9d47b6618f7b7338f95f34d0b70782e4cb
authorMichael Contreras <michael@inetric.com>
Sat, 30 Mar 2013 22:06:42 +0000 (30 18:06 -0400)
committerEric Wong <normalperson@yhbt.net>
Thu, 9 May 2013 01:07:39 +0000 (9 01:07 +0000)
treebaee311f98066eff3566e786889c3c95ab286e9a
parent9b795193a6a7e963db62d9cd8e86752a40940520
git-svn: avoid self-referencing mergeinfo

When svn.pushmergeinfo is set, the target branch is included in the
mergeinfo if it was previously merged into one of the source branches.
SVN does not do this.

Remove merge target branch path from resulting mergeinfo when
svn.pushmergeinfo is set to better match the behavior of SVN. Update the
svn-mergeinfo-push test.

[ew: 80 columns]

Signed-off-by: Michael Contreras <michael@inetric.com>
Reported-by: Avishay Lavie <avishay.lavie@gmail.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl
t/t9161-git-svn-mergeinfo-push.sh