keyword: versioning my homedir and ~/.hgrc

Greg Ward greg-hg at gerg.ca
Mon Jul 6 08:26:42 CDT 2009


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.  To the Mercurial tracking /home/me, .hgrc is no more
special than .zprofile or .gitconfig.  It's just content.  (OK, it's
*slightly* more special because it is .hgrc, but it has nothing to do
with the repo in /home/me specifically.)

Perhaps the "don't touch hg files" rule should use an explicit list
(.hgtags, .hg_archival.txt) rather than a wildcard?

Greg


More information about the Mercurial-devel mailing list