Patchwork [2,of,4,stable] check-code: fix no-check-code skip message - obfuscation was too obscure

login
register
mail settings
Submitter Mads Kiilerich
Date Oct. 28, 2013, 10 p.m.
Message ID <9c6257e4e2027d5e6a13.1382997653@mk-desktop>
Download mbox | patch
Permalink /patch/2830/
State Accepted
Commit f1dd988a8bcc3dc49c56e41098aea6c12a828afd
Headers show

Comments

Mads Kiilerich - Oct. 28, 2013, 10 p.m.
# HG changeset patch
# User Mads Kiilerich <madski@unity3d.com>
# Date 1382542933 -28800
#      Wed Oct 23 23:42:13 2013 +0800
# Branch stable
# Node ID 9c6257e4e2027d5e6a13f4cbb5df567ffc2ca497
# Parent  a45cf16389bcf2fb64dd95047bf0357e8313c83c
check-code: fix no-check-code skip message - obfuscation was too obscure
Augie Fackler - Oct. 30, 2013, 6:19 p.m.
On Mon, Oct 28, 2013 at 11:00:53PM +0100, Mads Kiilerich wrote:
> # HG changeset patch
> # User Mads Kiilerich <madski@unity3d.com>
> # Date 1382542933 -28800
> #      Wed Oct 23 23:42:13 2013 +0800
> # Branch stable
> # Node ID 9c6257e4e2027d5e6a13f4cbb5df567ffc2ca497
> # Parent  a45cf16389bcf2fb64dd95047bf0357e8313c83c
> check-code: fix no-check-code skip message - obfuscation was too obscure

queueing the first two for stable, not sure how to channel mpm on the last two.

>
> diff --git a/contrib/check-code.py b/contrib/check-code.py
> --- a/contrib/check-code.py
> +++ b/contrib/check-code.py
> @@ -426,7 +426,7 @@
>          fp.close()
>          if "no-" "check-code" in pre:
>              if debug:
> -                print "Skipping %s for %s it has no-" " check-code" % (
> +                print "Skipping %s for %s it has no-" "check-code" % (
>                         name, f)
>              break
>          for p, r in filters:
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel

Patch

diff --git a/contrib/check-code.py b/contrib/check-code.py
--- a/contrib/check-code.py
+++ b/contrib/check-code.py
@@ -426,7 +426,7 @@ 
         fp.close()
         if "no-" "check-code" in pre:
             if debug:
-                print "Skipping %s for %s it has no-" " check-code" % (
+                print "Skipping %s for %s it has no-" "check-code" % (
                        name, f)
             break
         for p, r in filters: