Mutating requires file

Adrian Buehlmann adrian at cadifra.com
Tue Jul 1 06:22:06 CDT 2008


Is on the fly adding of entries to the .hg/requires file a good thing?
Is it wanted?
Or just tolerated in some cases?

In his patch, Jesse only adds "longnames" to .hg/requires *if* a long
filename is actually encountered (e.g. during pull, commit, ..).

Should that concept be extended to auxencode [1], that is,
adding "auxencode" on the fly to .hg/requires as soon as a filename
that needs to be auxencoded is encountered?

Or should we just combine "auxencode" and "longnames" into one
static requires entry which implies both ("winquirks")?

Should "winquirks" be added to .hg/requires as as soon as a new repo
is created, even on unix?

[1] http://www.cadifra.com/cgi-bin/repos/hg-auxencode/file/tip/auxencode.patch



More information about the Mercurial-devel mailing list