##// END OF EJS Templates
debug: print parsed bundle2 capabilities with debugcapabilities...
Boris Feld -
r34961:762ea8a1 default
parent child Browse files
Show More
@@ -370,6 +370,14 b' def debugcapabilities(ui, path, **opts):'
370 ui.write(('Main capabilities:\n'))
370 ui.write(('Main capabilities:\n'))
371 for c in sorted(caps):
371 for c in sorted(caps):
372 ui.write((' %s\n') % c)
372 ui.write((' %s\n') % c)
373 b2caps = bundle2.bundle2caps(peer)
374 if b2caps:
375 ui.write(('Bundle2 capabilities:\n'))
376 for key, values in sorted(b2caps.iteritems()):
377 ui.write((' %s\n') % key)
378 for v in values:
379 ui.write((' %s\n') % v)
380
373 @command('debugcheckstate', [], '')
381 @command('debugcheckstate', [], '')
374 def debugcheckstate(ui, repo):
382 def debugcheckstate(ui, repo):
375 """validate the correctness of the current dirstate"""
383 """validate the correctness of the current dirstate"""
@@ -168,3 +168,25 b' Test debugcapabilities command:'
168 lookup
168 lookup
169 pushkey
169 pushkey
170 unbundle
170 unbundle
171 Bundle2 capabilities:
172 HG20
173 changegroup
174 01
175 02
176 digests
177 md5
178 sha1
179 sha512
180 error
181 abort
182 unsupportedcontent
183 pushraced
184 pushkey
185 hgtagsfnodes
186 listkeys
187 phases
188 heads
189 pushkey
190 remote-changegroup
191 http
192 https
General Comments 0
You need to be logged in to leave comments. Login now