[PATCH RFC stable] help: refer to user configuration file as hg configuration file

timeless timeless at gmail.com
Wed Sep 1 11:41:02 CDT 2010


On Wed, Sep 1, 2010 at 6:51 PM, Brodie Rao <brodie at bitheap.org> wrote:
> Seems reasonable to me.
>
> Though I do feel now that maybe it would be simpler and more consistent to
> just go with "hgrc".

hrm

> Not "$HOME/.hgrc", not "~/.hgrc", not ".hgrc" - just
> "hgrc". We wouldn't really be referring to any particular file path, just
> the general concept of hgrc. And it corresponds to the hgrc(5) man page.

yeah, probably "an hgrc" to indicate that it isn't one specific, just
any applicable hgrc file.

> I'm not sure what you mean by forced wrapping being wrong. Are you
> suggesting that newlines should never be inserted between the three words?

i was, but using 'an hgrc' avoids that problem (and in that case i
wouldn't force wrapping).

> On the other hand, you could mark it up in the man page, and if it were just
> "hgrc", then it'd be obvious that it's associated with hgrc(5) and that you
> should look there for more info. You'd also avoid the translation issue with
> "hgrc" (though I think "hgrc configuration file" would be nice for
> longer/more in-depth docs).

yeah, I like that.

I'm running out of time before my vacation. If I don't deal w/ this,
please feel free to do so in my absence.


More information about the Mercurial-devel mailing list