diff hgext/patchbomb.py @ 28981:7b188bc23942 stable

patchbomb: 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. This changeset is taken on stable for consistency with similar update done before the freeze. See 2e58dc022caa, ad2cd2ef25d9, fc1d75e7a98d and 9dcc9ed26d33.
author timeless <timeless@mozdev.org>
date Thu, 14 Apr 2016 15:15:49 +0000
parents 66e647312d30
children a0939666b836
line wrap: on
line diff
--- a/hgext/patchbomb.py	Sun Apr 10 01:28:52 2016 +0100
+++ b/hgext/patchbomb.py	Thu Apr 14 15:15:49 2016 +0000
@@ -572,7 +572,7 @@
                     msg %= (publicurl, missing[0])
                 revhint = ' '.join('-r %s' % h
                                   for h in repo.set('heads(%ld)', missing))
-                hint = _('use "hg push %s %s"') % (publicurl, revhint)
+                hint = _("use 'hg push %s %s'") % (publicurl, revhint)
                 raise error.Abort(msg, hint=hint)
 
     # start