keyword: versioning my homedir and ~/.hgrc

Giorgos Keramidas keramida at ceid.upatras.gr
Mon Jul 6 12:10:50 CDT 2009


On Mon, 6 Jul 2009 16:59:30 +0200, Christian Ebert <blacktrash at gmx.net> wrote:
> * Greg Ward on Monday, July 06, 2009 at 09:26:42 -0400
>> On Sun, Jul 5, 2009 at 10:34 PM, Christian Ebert<blacktrash at gmx.net> wrote:
>>> To what end do you want to have versioned keywords in .hg* files?
>>> Besides for the purpose of being bad, which I support
>>> wholeheartedly ;-) I don't see that it makes sense.
>>
>> Because he's versioning his home directory, and .hgrc is just another
>> config file.
>
> And what would be the use case where he cannot do
> "hg log -l1 .hgrc"?
>
> I only can think of the case where you say to someone, look, this
> is the .hgrc file I used in my home directory in 2007, it has the
> expanded date keyword to prove it.

Just sharing a single file with friends and others who may want to refer
to the particular snapshot of the file.  It's no big deal, and I already
run my own patched version of crew, so this may stay like a local patch :)



More information about the Mercurial-devel mailing list