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

login
register
mail settings
Submitter via Mercurial-devel
Date June 23, 2017, 8:17 p.m.
Message ID <75f126ed313986c1fe63.1498249058@martinvonz.svl.corp.google.com>
Download mbox | patch
Permalink /patch/21653/
State Accepted
Headers show

Comments

via Mercurial-devel - June 23, 2017, 8:17 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 75f126ed313986c1fe6380a031a131f69c49b0fd
# Parent  3225cd51049532d7627a3c8dc8f1a9b134e0e22a
debugcommands: remove unused "all" argument from _debugobsmarkers
Yuya Nishihara - June 24, 2017, 8:27 a.m.
On Fri, 23 Jun 2017 13:17:38 -0700, Martin von Zweigbergk via Mercurial-devel wrote:
> # HG changeset patch
> # User Martin von Zweigbergk <martinvonz@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

These look good, so queued. Thanks.

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