[PATCH] bisect: remove superfluous parameter in label()

Yann E. MORIN yann.morin.1998 at anciens.enib.fr
Wed Oct 19 17:37:43 CDT 2011

# HG changeset patch
# User "Yann E. MORIN" <yann.morin.1998 at anciens.enib.fr>
# Date 1319063854 -7200
# Node ID 37509ac71ee34a72a060aababf80aaf2fa3988cf
# Parent  d4addef0ec74370fbf75b138d06f8ad93d3038ff
bisect: remove superfluous parameter in label()

The argument is not used.  This is a left-over of non-published
iterations, and it passed through.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at anciens.enib.fr>

diff --git a/mercurial/hbisect.py b/mercurial/hbisect.py
--- a/mercurial/hbisect.py
+++ b/mercurial/hbisect.py
@@ -221,7 +221,7 @@
             raise error.ParseError(_('invalid bisect state'))
-def label(repo, node, short=False):
+def label(repo, node):
     rev = repo.changelog.rev(node)
     # Try explicit sets

More information about the Mercurial-devel mailing list