D4424: narrow: rename getbundlechangegrouppart_nonellipsis function
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Thu Aug 30 08:07:38 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG3433e8f39905: narrow: rename getbundlechangegrouppart_nonellipsis function (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D4424?vs=10669&id=10675
REVISION DETAIL
https://phab.mercurial-scm.org/D4424
AFFECTED FILES
hgext/narrow/narrowbundle2.py
CHANGE DETAILS
diff --git a/hgext/narrow/narrowbundle2.py b/hgext/narrow/narrowbundle2.py
--- a/hgext/narrow/narrowbundle2.py
+++ b/hgext/narrow/narrowbundle2.py
@@ -50,9 +50,9 @@
caps[NARROWCAP] = ['v0']
return caps
-def getbundlechangegrouppart_nonellipsis(bundler, repo, source, bundlecaps=None,
- b2caps=None, heads=None, common=None,
- **kwargs):
+def getbundlechangegrouppart_widen(bundler, repo, source, bundlecaps=None,
+ b2caps=None, heads=None, common=None,
+ **kwargs):
"""Handling changegroup changegroup generation on the server when user
is widening their narrowspec"""
@@ -317,7 +317,7 @@
repo.ui.configbool('experimental', 'narrowservebrokenellipses')):
getbundlechangegrouppart_narrow(*args, **kwargs)
elif kwargs.get(r'widen', False) and kwargs.get(r'narrow', False):
- getbundlechangegrouppart_nonellipsis(*args, **kwargs)
+ getbundlechangegrouppart_widen(*args, **kwargs)
else:
origcgfn(*args, **kwargs)
exchange.getbundle2partsmapping['changegroup'] = wrappedcgfn
To: pulkit, durin42, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list