Patchwork [02,of,17] update: use single quotes in use warning

login
register
mail settings
Submitter timeless
Date Sept. 21, 2016, 12:19 a.m.
Message ID <00192f6bab14f19bfd58.1474417183@gcc2-power8.osuosl.org>
Download mbox | patch
Permalink /patch/16706/
State Accepted
Headers show

Comments

timeless - Sept. 21, 2016, 12:19 a.m.
# HG changeset patch
# User timeless <timeless@mozdev.org>
# Date 1472852973 0
#      Fri Sep 02 21:49:33 2016 +0000
# Node ID 00192f6bab14f19bfd58738b732ea1a2d24317ea
# Parent  31e48b2f0db6a01c6c7f64a54d12719c48033eed
# Available At https://bitbucket.org/timeless/mercurial-crew
#              hg pull https://bitbucket.org/timeless/mercurial-crew -r 00192f6bab14
update: use single quotes in use warning

Patch

diff -r 31e48b2f0db6 -r 00192f6bab14 mercurial/destutil.py
--- a/mercurial/destutil.py	Fri Sep 02 21:46:00 2016 +0000
+++ b/mercurial/destutil.py	Fri Sep 02 21:49:33 2016 +0000
@@ -417,7 +417,7 @@ 
                       (currentbranch))
             if otherheads:
                 ui.warn(_('(committing will reopen the head, '
-                            'use `hg heads .` to see %i other heads)\n') %
+                            "use 'hg heads .' to see %i other heads)\n") %
                           (len(otherheads)))
             else:
                 ui.warn(_('(committing will reopen branch "%s")\n') %
diff -r 31e48b2f0db6 -r 00192f6bab14 tests/test-update-branches.t
--- 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