diff hgext/remotefilelog/constants.py @ 40559: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/constants.py	Tue Oct 16 16:38:40 2018 -0400
+++ b/hgext/remotefilelog/constants.py	Tue Oct 16 17:30:47 2018 -0400
@@ -8,6 +8,8 @@
 
 NETWORK_CAP_LEGACY_SSH_GETFILES = 'exp-remotefilelog-ssh-getfiles-1'
 
+BUNDLE2_CAPABLITY = "exp-remotefilelog-b2cap-1"
+
 FILENAMESTRUCT = '!H'
 FILENAMESIZE = struct.calcsize(FILENAMESTRUCT)