[PATCH] revert: allow configuring the .orig file location

Gregory Szorc gregory.szorc at gmail.com
Wed Aug 12 11:07:45 CDT 2015


Is there a config option to disable creation of .orig files? Or, do I need to create aliases to add --no-backup to every command?

> On Aug 12, 2015, at 08:09, Augie Fackler <raf at durin42.com> wrote:
> 
>> On Wed, Aug 12, 2015 at 12:25 AM, Durham Goode <durham at fb.com> wrote:
>>> On 8/11/15 1:02 PM, Augie Fackler wrote:
>>> 
>>>> On Mon, Aug 10, 2015 at 09:07:13PM -0700, Zainab Zahid wrote:
>>>> 
>>>> # HG changeset patch
>>>> # User Zainab Zahid <zzahid at fb.com>
>>>> # Date 1438967257 25200
>>>> #      Fri Aug 07 10:07:37 2015 -0700
>>>> # Node ID 92707bacbef0292af14701d0e812cbbf7239f754
>>>> # Parent  eabba9c75061254ff62827f92df0f32491c74b3d
>>>> revert: allow configuring the .orig file location
>>> 
>>> Why? Is having .orig in ignores insufficient?
>>> 
>>> (I'm -0 on this patch because I can't think of a VCS tool that offers
>>> it, and everyone's been fine with that for the past N decades...)
>> 
>> We get lots of complaints that .orig files mess with tools, IDE's, greps,
>> etc.  It seems straight forward enough to dump them elsewhere.
> 
> As a fraction of users, how bad is this? If it's 1% of your userbase
> or some other low level, I'm inclined to tell them to suck it up, as
> every feature introduces some extra maintenance complexity. Have you
> pointed them to 'hg revert --no-backup'?
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list