hgext/remotefilelog/remotefilelogserver.py
changeset 41676 0531dff73d0b
parent 40842 fbd053af2eda
child 42771 fdeb4c1d23d5
--- a/hgext/remotefilelog/remotefilelogserver.py	Sun Feb 10 14:35:36 2019 -0800
+++ b/hgext/remotefilelog/remotefilelogserver.py	Sat Feb 09 22:50:53 2019 -0800
@@ -54,7 +54,7 @@
                 elif cap.startswith("excludepattern="):
                     excludepattern = cap[len("excludepattern="):].split('\0')
 
-            m = match.always(repo.root, '')
+            m = match.always()
             if includepattern or excludepattern:
                 m = match.match(repo.root, '', None,
                     includepattern, excludepattern)
@@ -104,7 +104,7 @@
         oldnoflatmf = state.noflatmf
         try:
             state.shallowremote = True
-            state.match = match.always(repo.root, '')
+            state.match = match.always()
             state.noflatmf = other.get('noflatmanifest') == 'True'
             if includepattern or excludepattern:
                 state.match = match.match(repo.root, '', None,