167 See the WritingExtensions and MercurialApi documentation for more exhaustive |
167 See the WritingExtensions and MercurialApi documentation for more exhaustive |
168 descriptions and examples. |
168 descriptions and examples. |
169 """ |
169 """ |
170 |
170 |
171 # Command categories for grouping them in help output. |
171 # Command categories for grouping them in help output. |
|
172 CATEGORY_REPO_CREATION = 'repo' |
|
173 CATEGORY_REMOTE_REPO_MANAGEMENT = 'remote' |
|
174 CATEGORY_COMMITTING = 'commit' |
|
175 CATEGORY_CHANGE_MANAGEMENT = 'management' |
|
176 CATEGORY_CHANGE_ORGANIZATION = 'organization' |
|
177 CATEGORY_FILE_CONTENTS = 'files' |
|
178 CATEGORY_CHANGE_NAVIGATION = 'navigation' |
|
179 CATEGORY_WORKING_DIRECTORY = 'wdir' |
|
180 CATEGORY_IMPORT_EXPORT = 'import' |
|
181 CATEGORY_MAINTENANCE = 'maintenance' |
|
182 CATEGORY_HELP = 'help' |
|
183 CATEGORY_MISC = 'misc' |
172 CATEGORY_NONE = 'none' |
184 CATEGORY_NONE = 'none' |
173 |
185 |
174 def _doregister(self, func, name, options=(), synopsis=None, |
186 def _doregister(self, func, name, options=(), synopsis=None, |
175 norepo=False, optionalrepo=False, inferrepo=False, |
187 norepo=False, optionalrepo=False, inferrepo=False, |
176 intents=None, helpcategory=None): |
188 intents=None, helpcategory=None): |