##// END OF EJS Templates
Un-debugify debugconfig to showconfig. (issue 317)
Thomas Arendsen Hein -
r3268:bb057b6c default
parent child Browse files
Show More
@@ -1134,7 +1134,7 def debugcheckstate(ui, repo):
1134 error = _(".hg/dirstate inconsistent with current parent's manifest")
1134 error = _(".hg/dirstate inconsistent with current parent's manifest")
1135 raise util.Abort(error)
1135 raise util.Abort(error)
1136
1136
1137 def debugconfig(ui, repo, *values):
1137 def showconfig(ui, repo, *values):
1138 """show combined config settings from all hgrc files
1138 """show combined config settings from all hgrc files
1139
1139
1140 With no args, print names and values of all config items.
1140 With no args, print names and values of all config items.
@@ -2834,7 +2834,6 table = {
2834 [('r', 'rev', '', _('revision to rebuild to'))],
2834 [('r', 'rev', '', _('revision to rebuild to'))],
2835 _('debugrebuildstate [-r REV] [REV]')),
2835 _('debugrebuildstate [-r REV] [REV]')),
2836 "debugcheckstate": (debugcheckstate, [], _('debugcheckstate')),
2836 "debugcheckstate": (debugcheckstate, [], _('debugcheckstate')),
2837 "debugconfig": (debugconfig, [], _('debugconfig [NAME]...')),
2838 "debugsetparents": (debugsetparents, [], _('debugsetparents REV1 [REV2]')),
2837 "debugsetparents": (debugsetparents, [], _('debugsetparents REV1 [REV2]')),
2839 "debugstate": (debugstate, [], _('debugstate')),
2838 "debugstate": (debugstate, [], _('debugstate')),
2840 "debugdata": (debugdata, [], _('debugdata FILE REV')),
2839 "debugdata": (debugdata, [], _('debugdata FILE REV')),
@@ -3017,6 +3016,7 table = {
3017 _('hg revert [-r REV] [NAME]...')),
3016 _('hg revert [-r REV] [NAME]...')),
3018 "rollback": (rollback, [], _('hg rollback')),
3017 "rollback": (rollback, [], _('hg rollback')),
3019 "root": (root, [], _('hg root')),
3018 "root": (root, [], _('hg root')),
3019 "showconfig|debugconfig": (showconfig, [], _('showconfig [NAME]...')),
3020 "^serve":
3020 "^serve":
3021 (serve,
3021 (serve,
3022 [('A', 'accesslog', '', _('name of access log file to write to')),
3022 [('A', 'accesslog', '', _('name of access log file to write to')),
@@ -3086,7 +3086,7 table = {
3086
3086
3087 norepo = ("clone init version help debugancestor debugcomplete debugdata"
3087 norepo = ("clone init version help debugancestor debugcomplete debugdata"
3088 " debugindex debugindexdot")
3088 " debugindex debugindexdot")
3089 optionalrepo = ("paths serve debugconfig")
3089 optionalrepo = ("paths serve showconfig")
3090
3090
3091 def findpossible(ui, cmd):
3091 def findpossible(ui, cmd):
3092 """
3092 """
@@ -149,6 +149,7 list of commands (use "hg help -v" to sh
149 rollback roll back the last transaction in this repository
149 rollback roll back the last transaction in this repository
150 root print the root (top) of the current working dir
150 root print the root (top) of the current working dir
151 serve export the repository via HTTP
151 serve export the repository via HTTP
152 showconfig show combined config settings from all hgrc files
152 status show changed files in the working directory
153 status show changed files in the working directory
153 tag add a tag for the current tip or a given revision
154 tag add a tag for the current tip or a given revision
154 tags list repository tags
155 tags list repository tags
@@ -196,6 +197,7 list of commands (use "hg help -v" to sh
196 rollback roll back the last transaction in this repository
197 rollback roll back the last transaction in this repository
197 root print the root (top) of the current working dir
198 root print the root (top) of the current working dir
198 serve export the repository via HTTP
199 serve export the repository via HTTP
200 showconfig show combined config settings from all hgrc files
199 status show changed files in the working directory
201 status show changed files in the working directory
200 tag add a tag for the current tip or a given revision
202 tag add a tag for the current tip or a given revision
201 tags list repository tags
203 tags list repository tags
@@ -73,6 +73,7 list of commands (use "hg help -v" to sh
73 rollback roll back the last transaction in this repository
73 rollback roll back the last transaction in this repository
74 root print the root (top) of the current working dir
74 root print the root (top) of the current working dir
75 serve export the repository via HTTP
75 serve export the repository via HTTP
76 showconfig show combined config settings from all hgrc files
76 status show changed files in the working directory
77 status show changed files in the working directory
77 tag add a tag for the current tip or a given revision
78 tag add a tag for the current tip or a given revision
78 tags list repository tags
79 tags list repository tags
@@ -116,6 +117,7 list of commands (use "hg help -v" to sh
116 rollback roll back the last transaction in this repository
117 rollback roll back the last transaction in this repository
117 root print the root (top) of the current working dir
118 root print the root (top) of the current working dir
118 serve export the repository via HTTP
119 serve export the repository via HTTP
120 showconfig show combined config settings from all hgrc files
119 status show changed files in the working directory
121 status show changed files in the working directory
120 tag add a tag for the current tip or a given revision
122 tag add a tag for the current tip or a given revision
121 tags list repository tags
123 tags list repository tags
General Comments 0
You need to be logged in to leave comments. Login now