Mercurial > public > mercurial-scm > hg
diff hgext/remotefilelog/fileserverclient.py @ 40509:ed19958dbf5d
remotefilelog: consolidate and rename bundle2 capability
Bonus: we catch a spot where the shallowrepo requirement was being
misused as the bundle2 capability.
Differential Revision: https://phab.mercurial-scm.org/D5127
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 16 Oct 2018 17:30:47 -0400 |
parents | 354acd0dc637 |
children | fc2766860796 |
line wrap: on
line diff
--- a/hgext/remotefilelog/fileserverclient.py Tue Oct 16 16:38:40 2018 -0400 +++ b/hgext/remotefilelog/fileserverclient.py Tue Oct 16 17:30:47 2018 -0400 @@ -99,7 +99,7 @@ # getbundle args before it goes across the wire. Once we get rid # of bundle1, we can use bundle2's _pullbundle2extraprepare to # do this more cleanly. - bundlecaps.append('remotefilelog') + bundlecaps.append(constants.BUNDLE2_CAPABLITY) if self._localrepo.includepattern: patterns = '\0'.join(self._localrepo.includepattern) includecap = "includepattern=" + patterns