[PATCH] cmdutil: Warn when trying to copy/rename --after to a nonexistant file

Sune Foldager cryo at cyanite.org
Tue May 11 03:55:09 CDT 2010


On 11-05-2010 00:53, Matt Mackall wrote:
> On Sun, 2010-05-02 at 00:10 -0400, Steve Losh wrote:
>> # HG changeset patch
>> # User Steve Losh <steve at stevelosh.com>
>> # Date 1272753580 14400
>> # Node ID 3ff58bcfb03ae9b314f14eebbdb93d9548f937fb
>> # Parent  0c8646292ca44b251da8303aae4d652160f0aaed
>> cmdutil: Warn when trying to copy/rename --after to a nonexistant file.
>>
>> Currently running 'hg rename --after foo.txt bar.typo' is a silent no-op.  This patch adds a warning.  It also updates the copy and rename tests.
>>
>> No actual functionality is changed.
>>
>> fixes issue 1822
> 
> Queued, thanks.

So what about the comments from Greg and Dirkjan? :)

/Sune




More information about the Mercurial-devel mailing list