]> git.ipfire.org Git - thirdparty/git.git/commit - git-svn.perl
git-svn: find-rev and rebase for SVN::Mirror repositories
authorJoão Abecasis <joao@abecasis.name>
Mon, 14 Jul 2008 15:28:04 +0000 (16:28 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Jul 2008 06:35:31 +0000 (23:35 -0700)
commit63c56022f84ae70dd68763b8eed99bccf58fc98b
tree549f9d173da6bfd1820b392cab5eefd12f3b842c
parentdc29bc8bd243fcd20815c7dddc15dbae30747c28
git-svn: find-rev and rebase for SVN::Mirror repositories

find-rev and rebase error out on svm because git-svn doesn't trace the
original svn revision numbers back to git commits. The updated test
case, included in the patch, shows the issue and passes with the rest of
the patch applied.

This fixes Git::SVN::find_by_url to find branches based on the
svm:source URL, where useSvmProps is set. Also makes sure cmd_find_rev
and working_head_info use the information they have to correctly track
the source repository. This is enough to get find-rev and rebase
working.

Signed-off-by: João Abecasis <joao@abecasis.name>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-svn.perl
t/t9110-git-svn-use-svm-props.sh