.hg/hgrc file created by clone
mpm at selenic.com
Fri Sep 23 14:15:59 CDT 2005
On Fri, Sep 23, 2005 at 11:11:58AM -0700, Bryan O'Sullivan wrote:
> On Fri, 2005-09-23 at 10:13 -0700, Maquelin, Olivier wrote:
> > When cloning a repository through a ssh connection it would be nice if
> > the new .hg/hgrc file that gets created included the settings used for
> > the --ssh and --remotecmd options in addition to the default repository
> > path.
> This, too, is now implemented: http://hg.serpentine.com/mercurial/bos
I'm not completely convinced. I really don't like the idea of stashing
things away as defaults. It's a slippery slope. Doing it for default
path at clone makes sense - most users want it most of the time and
it's unique for each repo.
What are the ssh use cases? How common are they? If it's "I want to
use putty because I'm on Windows" or "I almost always go through a
firewall", well the answer is to put it in a higher level rc file
manually. If the answer is "I have a special case for a particular
repo", then I think manually editing .hg/hgrc is still the answer.
Parsimony remains one of Mercurial's virtues, but that virtue has to
be defended special case by special case.
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial