add -d and -s to show/set default paths

Matt Mackall mpm at selenic.com
Mon Sep 5 19:19:18 CDT 2005


On Sun, Sep 04, 2005 at 10:52:31PM -0700, TK Soh wrote:
> Thought it should be more convient than having to manually edit
> hgrc, and user shouldn't need to be aware that symbolic name
> 'default' carries a special meaning. Though I seemed to recall Matt
> saying it's bad to have Hg editing the file.

Yes, it is.

The syntax for .hgrc is non-trivial. Thus, hg should not be editing
it. Creation is an exception to this rule as there's no user-created
content there to mangle.

As for knowing about 'default=', I don't see how that's any less special
than '-d'.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list