changeset 43246:0fd47eb508c6

widening: remove unused "heads" argument Differential Revision: https://phab.mercurial-scm.org/D7096
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 11 Oct 2019 00:03:10 -0700
parents c320887c8e1c
children 599e0e62b597
files hgext/narrow/narrowbundle2.py hgext/narrow/narrowwirepeer.py
diffstat 2 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/narrow/narrowbundle2.py	Thu Oct 10 22:36:55 2019 -0700
+++ b/hgext/narrow/narrowbundle2.py	Fri Oct 11 00:03:10 2019 -0700
@@ -120,7 +120,6 @@
     newexclude,
     version,
     common,
-    heads,
     known,
     depth,
 ):
@@ -132,7 +131,6 @@
         if depth < 1:
             raise error.Abort(_(b'depth must be positive, got %d') % depth)
 
-    heads = set(heads or repo.heads())
     common = set(common or [nullid])
     # Steps:
     # 1. Send kill for "$known & ::common"
--- a/hgext/narrow/narrowwirepeer.py	Thu Oct 10 22:36:55 2019 -0700
+++ b/hgext/narrow/narrowwirepeer.py	Fri Oct 11 00:03:10 2019 -0700
@@ -129,7 +129,6 @@
                 newexcludes,
                 cgversion,
                 common,
-                list(common),
                 known,
                 None,
             )