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

Yann E. MORIN yann.morin.1998 at anciens.enib.fr
Wed Nov 2 15:54:58 CDT 2011


# HG changeset patch
# User "Yann E. MORIN" <yann.morin.1998 at anciens.enib.fr>
# Date 1319063854 -7200
# Node ID fdab53a961eab3f344fc2f718e3f40ceabd0617d
# Parent  c1eb8398fe822af3c1eada34368fa5771f252b28
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
@@ -220,7 +220,7 @@
         else:
             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