hg config
Remy Blank
remy.blank at pobox.com
Tue Aug 13 20:30:49 UTC 2013
Jordi Gutiérrez Hermoso wrote:
> So I want to work on an hg config command that only has two calling forms:
>
> hg config
> hg config --repo
>
> The first one opens ~/.hgrc (or its moral equivalent) in a text editor
> and the second one opens .hg/hgrc. It should use some n00b friendly
> text editor (e.g. xdg-open or its moral equivalent in other OSes).
Since users are probably going to edit the per-repository file more
often than your global config, how about:
hg config
hg config --global
where the first edits .hg/hgrc and the second ~/.hgrc? --global may
sound like it would edit /etc/hgrc, maybe --user or --home is better.
Anyway, the point is to make the most used command shortest and easiest
to remember.
-- Remy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20130813/cb215b56/attachment.asc>
More information about the Mercurial-devel
mailing list