D2194: narrowwirepeer: add TODO about how we add wireproto args to unbundle :(
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Mon Feb 12 20:03:43 UTC 2018
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2194
AFFECTED FILES
hgext/narrow/narrowwirepeer.py
CHANGE DETAILS
diff --git a/hgext/narrow/narrowwirepeer.py b/hgext/narrow/narrowwirepeer.py
--- a/hgext/narrow/narrowwirepeer.py
+++ b/hgext/narrow/narrowwirepeer.py
@@ -43,6 +43,8 @@
def wirereposetup(ui, peer):
def wrapped(orig, cmd, *args, **kwargs):
if cmd == 'unbundle':
+ # TODO: don't blindly add include/exclude wireproto
+ # arguments to unbundle.
include, exclude = repo.narrowpats
kwargs["includepats"] = ','.join(include)
kwargs["excludepats"] = ','.join(exclude)
To: durin42, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list