add --hgrc global option

Matt Mackall mpm at selenic.com
Wed Sep 28 01:07:22 CDT 2005


On Tue, Sep 27, 2005 at 10:44:31PM -0700, TK Soh wrote:
> --- Matt Mackall <mpm at selenic.com> wrote:
> > On Tue, Sep 27, 2005 at 09:13:25PM -0700, TK Soh wrote:
> > > My original intention is to hide my proxy password in a slightly better
> > place,
> > > but it should of other use too. Also, this is really just a quick hack, and
> > I
> > > feel it could done in a better way (anyone?)
> > 
> > Why is this better than ~/.hgrc marked 0600? While this feature is
> > simple and possibly useful, I'd rather not add such a feature
> > until there's a real use case for it.
> 
> It allows me employ different sets of configuration without having to keep
> modifying .hgrc. That's just one real use case for myself, of course ;-)

Can't you already do this by changing .hg/hgrc on a per-repo basis?

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list