Mercurial > hg
comparison tests/test-help.t @ 20581:7a72c28fdc76
test-help.t: add test for 'hg help extensions'
This demonstrates the defect that deprecated extensions show up in the
output. A followup patch will fix this defect.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Thu, 27 Feb 2014 15:37:04 -0500 |
parents | c21e1e3ab915 |
children | 02c303f64917 |
comparison
equal
deleted
inserted
replaced
20579:625533523c9e | 20581:7a72c28fdc76 |
---|---|
196 revsets Specifying Revision Sets | 196 revsets Specifying Revision Sets |
197 subrepos Subrepositories | 197 subrepos Subrepositories |
198 templating Template Usage | 198 templating Template Usage |
199 urls URL Paths | 199 urls URL Paths |
200 | 200 |
201 Test extension help: | |
202 $ hg help extensions --config extensions.rebase= --config extensions.children= | |
203 Using Additional Features | |
204 """"""""""""""""""""""""" | |
205 | |
206 Mercurial has the ability to add new features through the use of | |
207 extensions. Extensions may add new commands, add options to existing | |
208 commands, change the default behavior of commands, or implement hooks. | |
209 | |
210 To enable the "foo" extension, either shipped with Mercurial or in the | |
211 Python search path, create an entry for it in your configuration file, | |
212 like this: | |
213 | |
214 [extensions] | |
215 foo = | |
216 | |
217 You may also specify the full path to an extension: | |
218 | |
219 [extensions] | |
220 myfeature = ~/.hgext/myfeature.py | |
221 | |
222 See "hg help config" for more information on configuration files. | |
223 | |
224 Extensions are not loaded by default for a variety of reasons: they can | |
225 increase startup overhead; they may be meant for advanced usage only; they | |
226 may provide potentially dangerous abilities (such as letting you destroy | |
227 or modify history); they might not be ready for prime time; or they may | |
228 alter some usual behaviors of stock Mercurial. It is thus up to the user | |
229 to activate extensions as needed. | |
230 | |
231 To explicitly disable an extension enabled in a configuration file of | |
232 broader scope, prepend its path with !: | |
233 | |
234 [extensions] | |
235 # disabling extension bar residing in /path/to/extension/bar.py | |
236 bar = !/path/to/extension/bar.py | |
237 # ditto, but no path was supplied for extension baz | |
238 baz = ! | |
239 | |
240 enabled extensions: | |
241 | |
242 children command to display child changesets (DEPRECATED) | |
243 rebase command to move sets of revisions to a different ancestor | |
244 | |
245 disabled extensions: | |
246 | |
247 acl hooks for controlling repository access | |
248 blackbox log repository events to a blackbox for debugging | |
249 bugzilla hooks for integrating with the Bugzilla bug tracker | |
250 churn command to display statistics about repository history | |
251 color colorize output from some commands | |
252 convert import revisions from foreign VCS repositories into | |
253 Mercurial | |
254 eol automatically manage newlines in repository files | |
255 extdiff command to allow external programs to compare revisions | |
256 factotum http authentication with factotum | |
257 fetch pull, update and merge in one command (DEPRECATED) | |
258 gpg commands to sign and verify changesets | |
259 graphlog command to view revision graphs from a shell (DEPRECATED) | |
260 hgcia hooks for integrating with the CIA.vc notification service | |
261 hgk browse the repository in a graphical way | |
262 highlight syntax highlighting for hgweb (requires Pygments) | |
263 histedit interactive history editing | |
264 inotify accelerate status report using Linux's inotify service | |
265 interhg expand expressions into changelog and summaries | |
266 keyword expand keywords in tracked files | |
267 largefiles track large binary files | |
268 mq manage a stack of patches | |
269 notify hooks for sending email push notifications | |
270 pager browse command output with an external pager | |
271 patchbomb command to send changesets as (a series of) patch emails | |
272 progress show progress bars for some actions | |
273 purge command to delete untracked files from the working | |
274 directory | |
275 record commands to interactively select changes for | |
276 commit/qrefresh | |
277 relink recreates hardlinks between repository clones | |
278 schemes extend schemes with shortcuts to repository swarms | |
279 share share a common history between several working directories | |
280 shelve save and restore changes to the working directory | |
281 strip strip changesets and their descendents from history | |
282 transplant command to transplant changesets from another branch | |
283 win32mbcs allow the use of MBCS paths with problematic encodings | |
284 win32text perform automatic newline conversion | |
285 zeroconf discover and advertise repositories on the local network | |
201 Test short command list with verbose option | 286 Test short command list with verbose option |
202 | 287 |
203 $ hg -v help shortlist | 288 $ hg -v help shortlist |
204 Mercurial Distributed SCM | 289 Mercurial Distributed SCM |
205 | 290 |