[PATCH] Adds an option to update <repo>/.hg/hgrc when cloning to a remote repo

Danek Duvall danek.duvall at sun.com
Thu Jun 22 18:02:44 CDT 2006


I like the idea of this -- it'll help us at Sun mimic teamware a bit better
-- but I think it might be more useful if it were more generic.  In
addition to setting a default remote repository, I think we'd generally
like to help the user set up their development environment with things like
adding extensions, new hooks, perhaps set their default username.

Some of these things only make sense inside Sun -- like setting the
username to something saner than userid at hostname, which we certainly can do
-- and some thing might be difficult to abstract over a remote ssh or http
connection.  But it's functionality I think we'd be interested in, and I'd
like other people's opinions on this.

Of course, if it's not turned on by default, then it's not as useful.  So
perhaps doing all this out-of-band (either through documentation, or
enforcement on the server side, or a message that gets spit out when you do
a clone) would be a better fit for our needs.

Thoughts?

Thanks,
Danek


More information about the Mercurial mailing list