# HG changeset patch # User timeless # Date 1474415099 0 # Node ID 0342bf292f73f1c7eeac3d708229ca49def87af2 # Parent bd55d98027ee9d190f870d83e21ed77c242c1536 mq: use single quotes in use warning diff -r bd55d98027ee -r 0342bf292f73 hgext/mq.py --- a/hgext/mq.py Tue Sep 20 23:44:49 2016 +0000 +++ b/hgext/mq.py Tue Sep 20 23:44:59 2016 +0000 @@ -1562,7 +1562,7 @@ if not repo[self.applied[-1].node].mutable(): raise error.Abort( _("popping would remove a public revision"), - hint=_('see "hg help phases" for details')) + hint=_("see 'hg help phases' for details")) # we know there are no local changes, so we can make a simplified # form of hg.update. @@ -1631,7 +1631,7 @@ raise error.Abort(_("cannot qrefresh a revision with children")) if not repo[top].mutable(): raise error.Abort(_("cannot qrefresh public revision"), - hint=_('see "hg help phases" for details')) + hint=_("see 'hg help phases' for details")) cparents = repo.changelog.parents(top) patchparent = self.qparents(repo, top) @@ -2117,7 +2117,7 @@ for r in rev: if not repo[r].mutable(): raise error.Abort(_('revision %d is not mutable') % r, - hint=_('see "hg help phases" ' + hint=_("see 'hg help phases' " 'for details')) p1, p2 = repo.changelog.parentrevs(r) n = repo.changelog.node(r) diff -r bd55d98027ee -r 0342bf292f73 tests/test-mq-qimport-fail-cleanup.t --- a/tests/test-mq-qimport-fail-cleanup.t Tue Sep 20 23:44:49 2016 +0000 +++ b/tests/test-mq-qimport-fail-cleanup.t Tue Sep 20 23:44:59 2016 +0000 @@ -36,7 +36,7 @@ $ hg pull -q -r 0 . # update phase $ hg qimport -r 0 abort: revision 0 is not mutable - (see "hg help phases" for details) + (see 'hg help phases' for details) [255] $ cd .. diff -r bd55d98027ee -r 0342bf292f73 tests/test-mq-qimport.t --- a/tests/test-mq-qimport.t Tue Sep 20 23:44:49 2016 +0000 +++ b/tests/test-mq-qimport.t Tue Sep 20 23:44:59 2016 +0000 @@ -40,7 +40,7 @@ $ hg qimport -r null abort: revision -1 is not mutable - (see "hg help phases" for details) + (see 'hg help phases' for details) [255] $ hg qseries diff -r bd55d98027ee -r 0342bf292f73 tests/test-mq-safety.t --- a/tests/test-mq-safety.t Tue Sep 20 23:44:49 2016 +0000 +++ b/tests/test-mq-safety.t Tue Sep 20 23:44:59 2016 +0000 @@ -26,17 +26,17 @@ $ echo babar >> foo $ hg qref abort: cannot qrefresh public revision - (see "hg help phases" for details) + (see 'hg help phases' for details) [255] $ hg revert -a reverting foo $ hg qpop abort: popping would remove a public revision - (see "hg help phases" for details) + (see 'hg help phases' for details) [255] $ hg qfold bar abort: cannot qrefresh public revision - (see "hg help phases" for details) + (see 'hg help phases' for details) [255] $ hg revert -a reverting foo