Code

git-svn: --follow-parent now works on sub-directories of larger branches
authorEric Wong <normalperson@yhbt.net>
Wed, 24 Jan 2007 10:16:25 +0000 (02:16 -0800)
committerEric Wong <normalperson@yhbt.net>
Fri, 23 Feb 2007 08:57:10 +0000 (00:57 -0800)
commit7f578c55af80e9346135004bd47099cbb451f859
treede8db12cfa862e0cd83a88dbf1e4ad044cf8f9ed
parente6434f876097f196acbd9a806637d0f6076752fd
git-svn: --follow-parent now works on sub-directories of larger branches

This means that tracking the path of:

  /another-larger/trunk/thunk/bump/thud inside a repository

would follow:

  /larger-parent/trunk/thunk/bump/thud

even if the svn log output looks like this:
  --------------------------------------------
  Changed paths:
     A /another-larger (from /larger-parent:5)
  --------------------------------------------

Note: the usage of get_log() in git-svn still makes a
an assumption that shouldn't be made with regard to
revisions existing for a particular path.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl
t/t9104-git-svn-follow-parent.sh