[PATCH 1 of 8] commands: add ui.statuscopies config knob

Augie Fackler raf at durin42.com
Mon Mar 30 09:23:30 CDT 2015


On Mon, Mar 30, 2015 at 08:09:15AM +0200, Mathias De Maré wrote:
> On Sun, Mar 29, 2015 at 11:47 PM, Martin von Zweigbergk <
> martinvonz at google.com> wrote:
>
> >
> >
> > On Sun, Mar 29, 2015 at 2:41 PM Martin von Zweigbergk <
> > martinvonz at google.com> wrote:
> >
> >> On Sat, Mar 28, 2015 at 3:52 AM Mathias De Maré <mathias.demare at gmail.com>
> >> wrote:
> >>
> >>> # HG changeset patch
> >>> # User Mathias De Maré <mathias.demare at gmail.com>
> >>> # Date 1427228757 -3600
> >>> #      Tue Mar 24 21:25:57 2015 +0100
> >>> # Node ID 60bbe7ef868927b8a8240bbcc981c66bc1480210
> >>> # Parent  efa094701a05d58d505c3b0c3b3c73dba4e51e97
> >>> commands: add ui.statuscopies config knob
> >>>
> >>> statuscopies enables viewing of copies and moves in 'hg status' by
> >>> default.
> >>>
> >>
> >> Are there tools that call "hg status" that would break in a repo where
> >> the user turned this config on?
> >>
> >>
> > Now that I've seen patch 2/8, I realize this is not the first config
> > option that modifies output of commands. I guess tools are expected to run
> > commands with "HGRCPATH=/dev/null" or something. So never mind my question.
> >
> > The good news (to me) is that it seems acceptable to add a
> > ui.statusresolve option to merge in (no pun intended) the output from "hg
> > resolve -l".
> >
> Hm, I think you may have a point here actually. Normally, setting HGPLAIN
> should be enough to remove all modification of output by commands.
> For ui.progressive, I fixed this (see patch 3/8) by adding it to the list
> of settings that gets cleared by HGPLAIN. I should probably do the same for
> ui.statuscopies.

Yes, statuscopies needs HGPLAIN-disabling love.

>
> Greetings,
> Mathias

> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list