Preserving CVS $Header$ keyword while converting to Mercurial

Stanimir Stamenkov s7an10 at netscape.net
Sat Jan 12 16:50:38 UTC 2013


Sat, 12 Jan 2013 13:28:16 +0000, /Jan Vrany/:

> To be able to track changes, I would need to preserve expanded
> $Header$ keywords in files so I new from which CVS revision the file
> is derived. Is that possible with hg convert? If not, what would be
> the best approach to do it? I don't mind a bit of python coding.

'hg convert' adds extra field to changesets about the corresponding 
SVN revision number, as seen on:

http://stackoverflow.com/questions/4268745/svn-to-hg-now-output-svn-revision-number-from-hg-changeset

But I'm not sure for CVS - all files in a single changeset could 
have different CVS revision numbers.

-- 
Stanimir



More information about the Mercurial mailing list