How do I skip the first two commits of a subversion repository when converting it to Git using reposurgeon?
The first svn commit imported code using the wrong branch layout (trunk
, tags
, branches
) and the second commit deleted all of it.
The third commit was an import to the correct branch layout (subdir/trunk
, subdir/tags
, subdir/branches
).
This false start seems to confuse reposurgeon, because the resulting Git repository only has a single commit: the initial false start. All later commits are ignored.
Here's what I tried:
# installed reposurgeon 3.29
mkdir foo
cd foo
repotool initialize foo svn git
# edited the Makefile and set REMOTE_URL
make stubmap
# edited the resulting authors map (foo.map)
echo "1..2 delete" >>foo.lift
make