diff --git a/hgext/histedit.py b/hgext/histedit.py --- a/hgext/histedit.py +++ b/hgext/histedit.py @@ -854,7 +854,7 @@ def findoutgoing(ui, repo, remote=None, roots = list(repo.revs("roots(%ln)", outgoing.missing)) if 1 < len(roots): msg = _('there are ambiguous outgoing revisions') - hint = _('see "hg help histedit" for more detail') + hint = _("see 'hg help histedit' for more detail") raise error.Abort(msg, hint=hint) return repo.lookup(roots[0]) @@ -1290,7 +1290,7 @@ def between(repo, old, new, keep): root = ctxs[0] # list is already sorted by repo.set if not root.mutable(): raise error.Abort(_('cannot edit public changeset: %s') % root, - hint=_('see "hg help phases" for details')) + hint=_("see 'hg help phases' for details")) return [c.node() for c in ctxs] def ruleeditor(repo, ui, actions, editcomment=""): @@ -1402,7 +1402,7 @@ def verifyactions(actions, state, ctxs): raise error.ParseError(_('missing rules for changeset %s') % node.short(missing[0]), hint=_('use "drop %s" to discard, see also: ' - '"hg help -e histedit.config"') + "'hg help -e histedit.config'") % node.short(missing[0])) def adjustreplacementsfrommarkers(repo, oldreplacements): diff --git a/tests/test-histedit-arguments.t b/tests/test-histedit-arguments.t --- a/tests/test-histedit-arguments.t +++ b/tests/test-histedit-arguments.t @@ -169,7 +169,7 @@ Test that missing revisions are detected > pick 08d98a8350f3 4 five > EOF hg: parse error: missing rules for changeset c8e68270e35a - (use "drop c8e68270e35a" to discard, see also: "hg help -e histedit.config") + (use "drop c8e68270e35a" to discard, see also: 'hg help -e histedit.config') [255] Test that extra revisions are detected diff --git a/tests/test-histedit-drop.t b/tests/test-histedit-drop.t --- a/tests/test-histedit-drop.t +++ b/tests/test-histedit-drop.t @@ -151,7 +151,7 @@ Drop the last changeset > pick ee283cb5f2d5 e > EOF hg: parse error: missing rules for changeset a4f7421b80f7 - (use "drop a4f7421b80f7" to discard, see also: "hg help -e histedit.config") + (use "drop a4f7421b80f7" to discard, see also: 'hg help -e histedit.config') $ hg --config histedit.dropmissing=True histedit cb9a9f314b8b --commands - 2>&1 << EOF | fixbundle > EOF hg: parse error: no rules provided diff --git a/tests/test-histedit-obsolete.t b/tests/test-histedit-obsolete.t --- a/tests/test-histedit-obsolete.t +++ b/tests/test-histedit-obsolete.t @@ -299,7 +299,7 @@ Check that histedit respect immutability $ hg histedit -r '.~2' abort: cannot edit public changeset: cb9a9f314b8b - (see "hg help phases" for details) + (see 'hg help phases' for details) [255] diff --git a/tests/test-histedit-outgoing.t b/tests/test-histedit-outgoing.t --- a/tests/test-histedit-outgoing.t +++ b/tests/test-histedit-outgoing.t @@ -130,7 +130,7 @@ test to check number of roots in outgoin $ HGEDITOR=cat hg -q histedit --outgoing '../r' abort: there are ambiguous outgoing revisions - (see "hg help histedit" for more detail) + (see 'hg help histedit' for more detail) [255] $ hg -q update -C 2 @@ -147,7 +147,7 @@ test to check number of roots in outgoin $ HGEDITOR=cat hg -q histedit --outgoing '../r#default' abort: there are ambiguous outgoing revisions - (see "hg help histedit" for more detail) + (see 'hg help histedit' for more detail) [255] $ cd ..