update: use single quotes in use warning
authortimeless <timeless@mozdev.org>
Fri, 02 Sep 2016 21:49:33 +0000
changeset 29964 40f845537dca
parent 29963 e824de573112
child 29965 b3100653bafd
update: use single quotes in use warning
mercurial/destutil.py
tests/test-update-branches.t
--- a/mercurial/destutil.py	Fri Sep 02 21:46:00 2016 +0000
+++ b/mercurial/destutil.py	Fri Sep 02 21:49:33 2016 +0000
@@ -416,8 +416,8 @@
                         'updating to a closed head\n') %
                       (currentbranch))
             if otherheads:
-                ui.warn(_('(committing will reopen the head, '
-                            'use `hg heads .` to see %i other heads)\n') %
+                ui.warn(_("(committing will reopen the head, "
+                            "use 'hg heads .' to see %i other heads)\n") %
                           (len(otherheads)))
             else:
                 ui.warn(_('(committing will reopen branch "%s")\n') %
--- a/tests/test-update-branches.t	Fri Sep 02 21:46:00 2016 +0000
+++ b/tests/test-update-branches.t	Fri Sep 02 21:49:33 2016 +0000
@@ -195,7 +195,7 @@
   $ norevtest "on closed branch head" clean 6
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   no open descendant heads on branch "default", updating to a closed head
-  (committing will reopen the head, use `hg heads .` to see 1 other heads)
+  (committing will reopen the head, use 'hg heads .' to see 1 other heads)
   parent=6
 
 if descendant non-closed branch head exists, and it is only one branch head:
@@ -214,7 +214,7 @@
   $ norevtest "all descendant branch heads are closed" clean 3
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   no open descendant heads on branch "default", updating to a closed head
-  (committing will reopen the head, use `hg heads .` to see 1 other heads)
+  (committing will reopen the head, use 'hg heads .' to see 1 other heads)
   parent=6
 
 Test updating if all branch heads are closed