changeset 36102:b60c577b6e03

narrowwirepeer: add TODO about how we add wireproto args to unbundle :( Differential Revision: https://phab.mercurial-scm.org/D2194
author Augie Fackler <augie@google.com>
date Mon, 12 Feb 2018 14:58:32 -0500
parents 22ed16caa596
children 54e2abc73686
files hgext/narrow/narrowwirepeer.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/narrow/narrowwirepeer.py	Mon Feb 12 14:49:38 2018 -0500
+++ b/hgext/narrow/narrowwirepeer.py	Mon Feb 12 14:58:32 2018 -0500
@@ -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)