Preserving CVS $Header$ keyword while converting to Mercurial

Jan Vrany jan.vrany at fit.cvut.cz
Sat Jan 12 16:41:44 UTC 2013


On 12/01/13 16:37, Stanimir Stamenkov wrote:
> Sat, 12 Jan 2013 08:21:31 -0800, /Kevin O. Grover/:
>
>> Header's are NOT part of normal DVCS systems.   Hg has an extension
>> (keyword, http://mercurial.selenic.com/wiki/KeywordExtension).
>> Read about and enable it, and it will expand keywords.
>
> I don't think Jan needs this extension - it will affect the Mercurial's
> working copy content with the Mercurial changeset IDs, not the
> corresponding CVS revision numbers.

Exactly! I need to preserve value of $Header$ as CVS expands it, so
whenever I look at the file, I can figure out on which __CVS__ revision
it is based on.

Jan




More information about the Mercurial mailing list