[PATCH] export: export working directory parent by default

Augie Fackler raf at durin42.com
Fri Apr 12 19:41:15 CDT 2013


On Apr 12, 2013, at 6:44 PM, Matt Mackall <mpm at selenic.com> wrote:

> On Fri, 2013-04-12 at 16:34 -0400, Augie Fackler wrote:
>> On Fri, Apr 12, 2013 at 12:49:43AM +0200, Pierre-Yves David wrote:
>>> 
>>> On 11 avr. 2013, at 22:38, Mads Kiilerich wrote:
>>> 
>>>> # HG changeset patch
>>>> # User Mads Kiilerich <mads at kiilerich.com>
>>>> # Date 1360539792 -3600
>>>> #      Mon Feb 11 00:43:12 2013 +0100
>>>> # Node ID 67c827fdb3f6e42c261d50571acbde34ddde45e2
>>>> # Parent  027e7edd2707aba417c22fc9bf813d73ef54f6ea
>>>> export: export working directory parent by default
>>>> 
>>>> A common usecase for export is to preview the patch that will be patchbombed or
>>>> to see what changed in a revision found by bisect. Showing the working
>>>> directory parent is thus a useful and obvious default.
>>> 
>>> Sounds like a decent default behavior. But you have to update the help too.
>> 
>> I'm not so sure. Why is this good in a way that 'hg diff' isn't for
>> uncommitted work?
> 
> The proposal here is 'hg export' == 'hg export .'. I use 'hg export .' a
> fair amount. 'hg diff' != 'hg export .', because it's about the working
> directory changes.

Ah, brain fart. Sounds reasonable enough.

> 
> -- 
> Mathematics is the supreme nostalgia of our time.
> 
> 



More information about the Mercurial-devel mailing list