Mercurial > hg-stable
diff tests/test-debugcommands.t @ 35015:7ee2d859f720
debug: add a debugcapabilities commands
This new debugcommand prints the capabilities of any remote in a human friendly
way. Improved bundle2 capabilities support will be introduced in the next
changesets.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 30 Oct 2017 17:08:16 +0100 |
parents | 90981271a904 |
children | 762ea8a1f5e7 |
line wrap: on
line diff
--- 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