Show More
@@ -217,7 +217,12 b' def rebase(ui, repo, **opts):' | |||||
217 | keepopen = opts.get('keepopen', False) |
|
217 | keepopen = opts.get('keepopen', False) | |
218 |
|
218 | |||
219 | if opts.get('interactive'): |
|
219 | if opts.get('interactive'): | |
220 | help = "hg help -e histedit" |
|
220 | try: | |
|
221 | if extensions.find('histedit'): | |||
|
222 | enablehistedit = '' | |||
|
223 | except KeyError: | |||
|
224 | enablehistedit = " --config extensions.histedit=" | |||
|
225 | help = "hg%s help -e histedit" % enablehistedit | |||
221 | msg = _("interactive history editing is supported by the " |
|
226 | msg = _("interactive history editing is supported by the " | |
222 | "'histedit' extension (see \"%s\")") % help |
|
227 | "'histedit' extension (see \"%s\")") % help | |
223 | raise util.Abort(msg) |
|
228 | raise util.Abort(msg) |
@@ -490,11 +490,11 b' Test --tool parameter:' | |||||
490 | saved backup bundle to $TESTTMP/b3/.hg/strip-backup/e4e3f3546619-b0841178-backup.hg (glob) |
|
490 | saved backup bundle to $TESTTMP/b3/.hg/strip-backup/e4e3f3546619-b0841178-backup.hg (glob) | |
491 |
|
491 | |||
492 | $ hg rebase -i |
|
492 | $ hg rebase -i | |
493 | abort: interactive history editing is supported by the 'histedit' extension (see "hg help -e histedit") |
|
493 | abort: interactive history editing is supported by the 'histedit' extension (see "hg --config extensions.histedit= help -e histedit") | |
494 | [255] |
|
494 | [255] | |
495 |
|
495 | |||
496 | $ hg rebase --interactive |
|
496 | $ hg rebase --interactive | |
497 | abort: interactive history editing is supported by the 'histedit' extension (see "hg help -e histedit") |
|
497 | abort: interactive history editing is supported by the 'histedit' extension (see "hg --config extensions.histedit= help -e histedit") | |
498 | [255] |
|
498 | [255] | |
499 |
|
499 | |||
500 | $ cd .. |
|
500 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now