--- a/tests/test-debugcommands.t Mon Oct 30 17:46:07 2017 -0400
+++ b/tests/test-debugcommands.t Mon Oct 30 17:08:16 2017 +0100
@@ -156,3 +156,15 @@
from h hidden in g at:
debugstacktrace.py:6 in f
debugstacktrace.py:9 in g
+
+Test debugcapabilities command:
+
+ $ hg debugcapabilities ./debugrevlog/
+ Main capabilities:
+ branchmap
+ bundle2=HG20%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Aphases%3Dheads%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps
+ getbundle
+ known
+ lookup
+ pushkey
+ unbundle