Suppose I have a git svn clone
that I created like this:
$ mkdir foo
$ cd foo
$ git svn clone -s -r 100:HEAD http://svn.example.com/project
and then I git clone
it like this:
$ cd ..
$ git clone foo bar
$ cd bar
So now bar
has foo
as its origin.
How do I make bar
track the original SVN server? The git-svn
man page provides an example of the case where the original git svn clone
includes the full revision history, but this doesn't seem to cover the case that the original git svn clone
doesn't start from r1
. When I try the various things I see described, what git svn fetch
does is always start a disconnected history starting at r1
.