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