[PATCH 04 of 17] rebase: use single quotes in use warning

timeless timeless at fmr.im
Tue Sep 20 20:19:45 EDT 2016


# HG changeset patch
# User timeless <timeless at mozdev.org>
# Date 1474415068 0
#      Tue Sep 20 23:44:28 2016 +0000
# Node ID 0ce8fb6cabe0657d1da7f741870bf9050f32fd9c
# Parent  ca073d2379d406e610450b957a955bf05ebf64f3
# Available At https://bitbucket.org/timeless/mercurial-crew
#              hg pull https://bitbucket.org/timeless/mercurial-crew -r 0ce8fb6cabe0
rebase: use single quotes in use warning

diff -r ca073d2379d4 -r 0ce8fb6cabe0 hgext/rebase.py
--- a/hgext/rebase.py	Tue Sep 20 20:12:38 2016 +0000
+++ b/hgext/rebase.py	Tue Sep 20 23:44:28 2016 +0000
@@ -296,7 +296,7 @@
         if not self.keepf and not self.repo[root].mutable():
             raise error.Abort(_("can't rebase public changeset %s")
                              % self.repo[root],
-                             hint=_('see "hg help phases" for details'))
+                             hint=_("see 'hg help phases' for details"))
 
         (self.originalwd, self.target, self.state) = result
         if self.collapsef:
@@ -1128,7 +1128,7 @@
         if immutable:
             repo.ui.warn(_("warning: can't clean up public changesets %s\n")
                         % ', '.join(str(repo[r]) for r in immutable),
-                        hint=_('see "hg help phases" for details'))
+                        hint=_("see 'hg help phases' for details"))
             cleanup = False
 
         descendants = set()
diff -r ca073d2379d4 -r 0ce8fb6cabe0 tests/test-rebase-scenario-global.t
--- a/tests/test-rebase-scenario-global.t	Tue Sep 20 20:12:38 2016 +0000
+++ b/tests/test-rebase-scenario-global.t	Tue Sep 20 23:44:28 2016 +0000
@@ -326,7 +326,7 @@
   [1]
   $ hg rebase -d 5 -b 6
   abort: can't rebase public changeset e1c4361dd923
-  (see "hg help phases" for details)
+  (see 'hg help phases' for details)
   [255]
 
   $ hg rebase -d 5 -b 6 --keep


More information about the Mercurial-devel mailing list