Mercurial > hg
comparison tests/test-extension.t @ 19822:a194a33f8cb2
mq: prepare a strip extension for extraction
Strip will lives in its own extension. The extension is surprisingly called
`strip`. (as discussed in issue3824) The `mq` extension force the use of the
strip extension when its enabled. This will both necessary for backward
compatibility (people expect `mq` to comes with strip) and become some utility
function used by `mq` will move in the strip extension.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Thu, 26 Sep 2013 23:10:11 +0200 |
parents | 6f72e7d28b35 |
children | e3a5922e18c3 |
comparison
equal
deleted
inserted
replaced
19821:baab785e3ecf | 19822:a194a33f8cb2 |
---|---|
404 > cmdtable = {"debugextensions": (debugextensions, (), "hg debugextensions")} | 404 > cmdtable = {"debugextensions": (debugextensions, (), "hg debugextensions")} |
405 > commands.norepo += " debugextensions" | 405 > commands.norepo += " debugextensions" |
406 > EOF | 406 > EOF |
407 $ echo "debugissue811 = $debugpath" >> $HGRCPATH | 407 $ echo "debugissue811 = $debugpath" >> $HGRCPATH |
408 $ echo "mq=" >> $HGRCPATH | 408 $ echo "mq=" >> $HGRCPATH |
409 $ echo "strip=" >> $HGRCPATH | |
409 $ echo "hgext.mq=" >> $HGRCPATH | 410 $ echo "hgext.mq=" >> $HGRCPATH |
410 $ echo "hgext/mq=" >> $HGRCPATH | 411 $ echo "hgext/mq=" >> $HGRCPATH |
411 | 412 |
412 Show extensions: | 413 Show extensions: |
414 (note that mq force load strip, also checking it's not loaded twice) | |
413 | 415 |
414 $ hg debugextensions | 416 $ hg debugextensions |
415 debugissue811 | 417 debugissue811 |
418 strip | |
416 mq | 419 mq |
417 | 420 |
418 Disabled extension commands: | 421 Disabled extension commands: |
419 | 422 |
420 $ ORGHGRCPATH=$HGRCPATH | 423 $ ORGHGRCPATH=$HGRCPATH |