Preserving CVS $Header$ keyword while converting to Mercurial

Jan Vrany jan.vrany at fit.cvut.cz
Sun Jan 13 16:06:37 UTC 2013



>
> 'hg convert' runs 'cvs server' and passes it a command to get file
> content as data - see
> http://selenic.com/hg/file/5db16424142c/hgext/convert/cvs.py#l225
>
> You might be able to find some way to make the cvs server expand the
> keywords. Otherwise you will have to do it in Python.

Excellent, well spotted! The whole trick is to pass -kkv
(which means expand keywords) to 'cvs server' instead of -kk
(which means do not expand keywords).

Thanks a __lot__!

Jan





More information about the Mercurial mailing list