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

Matt Mackall mpm at selenic.com
Wed May 12 15:38:44 CDT 2010


On Tue, 2010-05-11 at 10:55 +0200, Sune Foldager wrote:
> 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? :)

Missed. Steve will be immortalized for his bad spelling; no good deed
goes unpunished.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list