widening: remove unused "heads" argument
Differential Revision: https://phab.mercurial-scm.org/D7096
--- 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,
)