changeset 28964:9dcc9ed26d33

fetch: use single quotes around command hint Windows command lines use double quotes to quote arguments with spaces. This change is in a series to unify around using single quotes around commands, and double quotes around interior arguments.
author timeless <timeless@mozdev.org>
date Thu, 14 Apr 2016 15:20:11 +0000
parents fc1d75e7a98d
children 98153441c8cc
files hgext/fetch.py tests/test-fetch.t
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/fetch.py	Thu Apr 14 15:19:57 2016 +0000
+++ b/hgext/fetch.py	Thu Apr 14 15:20:11 2016 +0000
@@ -61,7 +61,7 @@
         branchnode = None
     if parent != branchnode:
         raise error.Abort(_('working directory not at branch tip'),
-                         hint=_('use "hg update" to check out branch tip'))
+                         hint=_("use 'hg update' to check out branch tip"))
 
     wlock = lock = None
     try:
--- a/tests/test-fetch.t	Thu Apr 14 15:19:57 2016 +0000
+++ b/tests/test-fetch.t	Thu Apr 14 15:20:11 2016 +0000
@@ -339,7 +339,7 @@
   (branches are permanent and global, did you want a bookmark?)
   $ hg -R n2 fetch -m merge n1
   abort: working directory not at branch tip
-  (use "hg update" to check out branch tip)
+  (use 'hg update' to check out branch tip)
   [255]
 
 parent should be 0 (fetch did not update or merge anything)