[PATCH 1 of 5 v3] debugcommands: remove unused "all" argument from _debugobsmarkers

Martin von Zweigbergk martinvonz at google.com
Thu Jun 22 20:52:17 UTC 2017


# HG changeset patch
# User Martin von Zweigbergk <martinvonz at google.com>
# Date 1498151398 25200
#      Thu Jun 22 10:09:58 2017 -0700
# Node ID a81bba284bb9e8088b9922629f82dc2b3d74b2bc
# Parent  698542a0f8e8e7270661fbe20d53085d967f5305
debugcommands: remove unused "all" argument from _debugobsmarkers

diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -289,7 +289,7 @@
             ui.write("%s%s\n" % (indent_string, hex(node)))
             chain = node
 
-def _debugobsmarkers(ui, data, all=None, indent=0, **opts):
+def _debugobsmarkers(ui, data, indent=0, **opts):
     """display version and markers contained in 'data'"""
     indent_string = ' ' * indent
     try:
@@ -325,7 +325,7 @@
             cg = changegroup.getunbundler(version, part, 'UN')
             _debugchangegroup(ui, cg, all=all, indent=4, **opts)
         if part.type == 'obsmarkers':
-            _debugobsmarkers(ui, part.read(), all=all, indent=4, **opts)
+            _debugobsmarkers(ui, part.read(), indent=4, **opts)
 
 @command('debugbundle',
         [('a', 'all', None, _('show all details')),


More information about the Mercurial-devel mailing list