[PATCH] mq: prevent rewriting operation on public changeset

Matt Mackall mpm at selenic.com
Wed Feb 1 19:20:12 UTC 2012


On Wed, 2012-02-01 at 12:20 +0100, pierre-yves.david at logilab.fr wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at logilab.fr>
> # Date 1328095210 -3600
> # Branch stable
> # Node ID ff656ad483ca5cb448e701b906bb50dc0c9bbcf5
> # Parent  c0b2986b37b8b56991febe6e1fadf6c45d1ac0c1
> mq: prevent rewriting operation on public changeset

> diff --git a/tests/test-check-code-hg.t b/tests/test-check-code-hg.t
> --- a/tests/test-check-code-hg.t
> +++ b/tests/test-check-code-hg.t
> @@ -220,10 +220,13 @@
>    hgext/mq.py:0:
>     >                 except:
>     warning: naked except clause
>     warning: naked except clause
>    hgext/mq.py:0:
> +   >                 raise util.Abort(_("popping would remove an immutable revision"),
> +   warning: line over 80 characters

Did you really think updating the test was the right solution here?

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial-devel mailing list