[PATCH] cmdutil: Warn when trying to copy/rename --after to a nonexistant file
Matt Mackall
mpm at selenic.com
Mon May 10 17:53:11 CDT 2010
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.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list