is -kk important in hg convert ?
Giorgos Keramidas
keramida at ceid.upatras.gr
Wed Mar 19 19:58:37 CDT 2008
On Wed, 19 Mar 2008 18:04:28 -0000, "Schmielau, Tim" <T.Schmielau at shu.ac.uk> wrote:
>> In convert extension there is this line:
>>
>> args = ("-N -P -kk -r %s --" % rev).split()
>>
>> These are the arguments passed to the cvs server when a new revision is downloaded...
>> -kk resets the $Id: <value>$ string to the empty $Id$.....
>>
>> Now, when I diff a converted file from a cvs checked-out file.... the
>> file is different... is the -kk actually necessary ?
>
> No, you can just delete the -kk, it works fine without.
>
> I've successfully imported an RCS repository this way where the build
> system relied on the $Id: ...$ lines to make up for the shortcomings
> of RCS' single-file design.
>
> I already considered suggesting to remove the -kk option as default,
> but then again it didn't seem worth bothering. Comments, anybody?
Maybe it's worth making it an option? Something like the following
perhaps:
--config convert.cvs.flags="-N -P -kk"
Then the default will still be the same as today, and those who _know_
that they need a different option set can also use convert.
More information about the Mercurial
mailing list