[PATCH V2] config: give a more detailed sample repo config
pierre-yves.david at ens-lyon.org
Mon Oct 6 14:58:45 CDT 2014
On 10/06/2014 12:54 PM, Augie Fackler wrote:
> On Fri, Oct 03, 2014 at 05:19:25PM -0500, Pierre-Yves David wrote:
>> On 10/03/2014 03:39 PM, Matt Mackall wrote:
>>> On Fri, 2014-10-03 at 16:21 -0400, Jordi Gutiérrez Hermoso wrote:
>>>> # HG changeset patch
>>>> # User Jordi Gutiérrez Hermoso <jordigh at octave.org>
>>>> # Date 1412353066 14400
>>>> # Fri Oct 03 12:17:46 2014 -0400
>>>> # Node ID eb4d20b10e17135d8b2402f23af8e0b6797297c9
>>>> # Parent 9f9ba0dcf5fdcc9978db7fdbd909916f0c35e4a6
>>>> config: give a more detailed sample repo config
>>> We're doing something a little weird here.
>>> $ hg init a
>>> $ cat a/.hg/hgrc
>>> cat: a/.hg/hgrc: No such file or directory
>>> $ hg clone a aa
>>> updating to branch default
>>> 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
>>> $ cat aa/.hg/hgrc
>>> # You may want to set your username here if it is not set
>>> # globally, or this repository requires a different
>>> # username from your usual configuration. If you want to
>>> # set something for all of your repositories on this
>>> # computer, try running the command
>>> # 'hg config --edit --global'
>>> Who approved that? Global?? Ugh.
> if we're talking about the actual *flag name* --global, I'm almost sure that isn't me. In fact:
> changeset: 21617:13fcb9ca9ccc
> user: Matt Mackall <mpm at selenic.com>
> date: Tue Mar 18 18:49:30 2014 -0500
> summary: config: add --global and --local flags
Sure, --global edit the system level config. Definitly not something we
want the use to use in this case.
>> This is added by:
>> changeset: 25035:82b2ba904e3e
>> user: Augie Fackler <raf at durin42.com>
>> date: Tue Sep 09 17:16:24 2014 -0400
>> summary: clone: provide sample username = config entry in .hg/hgrc
>> And I cannot see any mention of it on the list. So I assume it has been
>> pushed directly on crew ? Obsmarkers give Augies as the last guy who touched
>> the changesets.
>> Augies, did you pushed that by mistake our did you got a special side
>> channel approval for that (I would be confused by Matt acking this).
> I'm pretty sure I ran this by at least TheMystic on IRC. Since it's in
> a sample hgrc config, we can certainly change it?
It think it was list worthy. But not a huge deal.
> (-1 point for not cc'ing me on this email, I almost didn't read it.)
Oops, sorry about that.
More information about the Mercurial-devel