First impressions of Mercurial

Thomas Arendsen Hein thomas at intevation.de
Mon Jun 13 08:04:51 UTC 2005


* Matt Mackall <mpm at selenic.com> [20050613 05:26]:
> On Mon, Jun 13, 2005 at 04:58:37AM +0200, Thomas Arendsen Hein wrote:
> > I think mercurial needs the ability to store repo-local variables,
> > one of these variables can be "repository" (like in codeville) or
> > "parent" (which is more precise, but may clash with the meaning of
> > parent changeset). The default repo should be set on "hg init" and
> > of course editable with "hg set".
> 
> Hmm. Is there much other than upstream to remember?

Maybe:
- hgmerge/hgeditor different from the default
- username for a remote repository
- proxy settings to access upstream

> I'm tempted
> instead to make this an rc option and read multiple rc files..

An rc file in .hg might be used to store this variable, but then hg
needs a way to write ConfigParser files without annoying the user
(because his comments may be gone then)

Or maybe we can just say: Hey, it's in the .hg directory, don't cry
if your comments are gone, this is hg's directory.

I recommend not putting this next to .hg, .hgtags and .hgignore,
because this is a personal setting and not something which should be
committed or pulled.

Thomas

-- 
Email: thomas at intevation.de
http://intevation.de/~thomas/



More information about the Mercurial mailing list