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

Martin von Zweigbergk martinvonz at google.com
Fri Jun 23 20:17:38 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 75f126ed313986c1fe6380a031a131f69c49b0fd
# Parent  3225cd51049532d7627a3c8dc8f1a9b134e0e22a
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