add --hgrc global option

TK Soh teekaysoh at yahoo.com
Wed Sep 28 19:08:19 CDT 2005


--- Matt Mackall <mpm at selenic.com> wrote:
> 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?

The repos are usually very short-lived, it would be quite a hassle to manage
.hg/hgrc that way. Besides, I don't feel very comfortable puting the passwords
in .hg/hgrc, for security reasons.

In any case, I'm okay if you don't think it's the best time for such feature.
After all, I can still keep my hgrc tree for now - thanks for Mercurial itself
:-)



		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


More information about the Mercurial mailing list