# HG changeset patch # User Martin von Zweigbergk # Date 1570777390 25200 # Node ID 0fd47eb508c6f078f14d97899ba2d0cbda016e11 # Parent c320887c8e1c359232f6687dbd70a1dd7ca6fc31 widening: remove unused "heads" argument Differential Revision: https://phab.mercurial-scm.org/D7096 diff -r c320887c8e1c -r 0fd47eb508c6 hgext/narrow/narrowbundle2.py --- 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" diff -r c320887c8e1c -r 0fd47eb508c6 hgext/narrow/narrowwirepeer.py --- 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, )