##// END OF EJS Templates
debugcommands: introduce new debugrequirements command...
Pulkit Goyal -
r45667:4a28f5e8 default
parent child Browse files
Show More
@@ -2651,6 +2651,13 def debugrename(ui, repo, *pats, **opts)
2651 2651 ui.write(_(b"%s not renamed\n") % rel)
2652 2652
2653 2653
2654 @command(b'debugrequires|debugrequirements', [], b'')
2655 def debugrequirements(ui, repo):
2656 """ print the current repo requirements """
2657 for r in sorted(repo.requirements):
2658 ui.write(b"%s\n" % r)
2659
2660
2654 2661 @command(
2655 2662 b'debugrevlog',
2656 2663 cmdutil.debugrevlogopts + [(b'd', b'dump', False, _(b'dump index data'))],
@@ -121,6 +121,7 Show debug commands if there are no othe
121 121 debugrebuilddirstate
122 122 debugrebuildfncache
123 123 debugrename
124 debugrequires
124 125 debugrevlog
125 126 debugrevlogindex
126 127 debugrevspec
@@ -306,6 +307,7 Show all commands + options
306 307 debugrebuilddirstate: rev, minimal
307 308 debugrebuildfncache:
308 309 debugrename: rev
310 debugrequires:
309 311 debugrevlog: changelog, manifest, dir, dump
310 312 debugrevlogindex: changelog, manifest, dir, format
311 313 debugrevspec: optimize, show-revs, show-set, show-stage, no-optimized, verify-optimized
@@ -1051,6 +1051,8 Test list of internal help commands
1051 1051 debugrebuildfncache
1052 1052 rebuild the fncache file
1053 1053 debugrename dump rename information
1054 debugrequires
1055 print the current repo requirements
1054 1056 debugrevlog show data and statistics about a revlog
1055 1057 debugrevlogindex
1056 1058 dump the contents of a revlog index
@@ -48,6 +48,14 another repository of push/pull/clone on
48 48 > # enable extension locally
49 49 > supportlocally = $TESTTMP/supported-locally/supportlocally.py
50 50 > EOF
51 $ hg -R supported debugrequirements
52 dotencode
53 featuresetup-test
54 fncache
55 generaldelta
56 revlogv1
57 sparserevlog
58 store
51 59 $ hg -R supported status
52 60
53 61 $ hg init push-dst
General Comments 0
You need to be logged in to leave comments. Login now