I need to do some research about sources in a svn-deleted path in our company svn repository. Since I need to work a lot with annotate, I want to have the history in mercurial or git. I tried so far:
So is there a way to import a deleted svn path into git or hg?
Assuming that the path was deleted on revision 117, the following should work with hgsubversion:
hg clone -r 116 http://svn.example.com/whereever
(I haven't tested this recently, but it should work. It's a bug if it doesn't…)
You should also note that despite what khmarbaise claimed, closing a branch in Mercurial does not delete it from history. Closing a branch will merely hide it from hg heads
unless the -c/--closed
argument is given.