History lost in svn conversion

Neil Curzon neil.curzon at gmail.com
Mon Jul 13 16:57:13 CDT 2009


Hi all,

I've recently been trying to convert my project from subversion to
mercurial. The convert extension seems to be working mostly fine. The only
issue I have is that file history is sometimes lost. The thing is that
usually with commits that move a small number of files, history is tracked
across the moves (verified by moving to various points in the earlier
history). I have one commit of about 250 changed files, many of those moves,
that the history is lost for. I am remembering to use hg log --follow.

I've tried using MQ to go back to that commit, roll it out with qdelete -k,
apply the patch via patch command, explicitly marking all moves with hg mv
-A oldname newname, and reapplying all changes. Unfortunately, this didn't
seem to solve the problem: file history still disappeared at the large
commit.

In the source subversion repository, svn log <file> produces a correct
history, across the large commit to the beginning.

Any tips?

Thanks
Neil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090713/ba833fc7/attachment.htm 


More information about the Mercurial mailing list