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

login
register
mail settings
Submitter via Mercurial-devel
Date June 22, 2017, 8:52 p.m.
Message ID <a81bba284bb9e8088b99.1498164737@martinvonz.svl.corp.google.com>
Download mbox | patch
Permalink /patch/21619/
State Superseded
Headers show

Comments

via Mercurial-devel - June 22, 2017, 8:52 p.m.
# HG changeset patch
# User Martin von Zweigbergk <martinvonz@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

Patch

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')),