--- a/hgext/histedit.py Tue Sep 20 23:45:15 2016 +0000
+++ b/hgext/histedit.py Tue Sep 20 23:45:25 2016 +0000
@@ -854,7 +854,7 @@
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 @@
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 @@
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):
--- a/tests/test-histedit-arguments.t Tue Sep 20 23:45:15 2016 +0000
+++ b/tests/test-histedit-arguments.t Tue Sep 20 23:45:25 2016 +0000
@@ -169,7 +169,7 @@
> 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
--- a/tests/test-histedit-drop.t Tue Sep 20 23:45:15 2016 +0000
+++ b/tests/test-histedit-drop.t Tue Sep 20 23:45:25 2016 +0000
@@ -151,7 +151,7 @@
> 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
--- a/tests/test-histedit-obsolete.t Tue Sep 20 23:45:15 2016 +0000
+++ b/tests/test-histedit-obsolete.t Tue Sep 20 23:45:25 2016 +0000
@@ -299,7 +299,7 @@
$ hg histedit -r '.~2'
abort: cannot edit public changeset: cb9a9f314b8b
- (see "hg help phases" for details)
+ (see 'hg help phases' for details)
[255]
--- a/tests/test-histedit-outgoing.t Tue Sep 20 23:45:15 2016 +0000
+++ b/tests/test-histedit-outgoing.t Tue Sep 20 23:45:25 2016 +0000
@@ -130,7 +130,7 @@
$ 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 @@
$ 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 ..