# HG changeset patch # User timeless # Date 1460646949 0 # Node ID 7b188bc23942e1f356532c63e181dd5503dc8661 # Parent b89e4457fa865ee6596157fe7b98639c1c39655e 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. diff -r b89e4457fa86 -r 7b188bc23942 hgext/patchbomb.py --- 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 diff -r b89e4457fa86 -r 7b188bc23942 tests/test-patchbomb.t --- a/tests/test-patchbomb.t Sun Apr 10 01:28:52 2016 +0100 +++ b/tests/test-patchbomb.t Thu Apr 14 15:15:49 2016 +0000 @@ -2874,7 +2874,7 @@ $ echo "publicurl=$TESTTMP/t2" >> $HGRCPATH $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' | grep '^#' abort: public url $TESTTMP/t2 is missing 3b6f1ec9dde9 - (use "hg push $TESTTMP/t2 -r 3b6f1ec9dde9") + (use 'hg push $TESTTMP/t2 -r 3b6f1ec9dde9') [1] public missing @@ -2897,13 +2897,13 @@ $ echo 'publicurl=$TESTTMP/t3' >> $HGRCPATH $ hg email --date '1980-1-1 0:1' -t foo -s test -r '10' abort: public url $TESTTMP/t3 is missing 3b6f1ec9dde9 - (use "hg push $TESTTMP/t3 -r 3b6f1ec9dde9") + (use 'hg push $TESTTMP/t3 -r 3b6f1ec9dde9') [255] multiple heads are missing at public $ hg email --date '1980-1-1 0:1' -t foo -s test -r '2+10' abort: public "$TESTTMP/t3" is missing ff2c9fa2018b and 1 others - (use "hg push $TESTTMP/t3 -r ff2c9fa2018b -r 3b6f1ec9dde9") + (use 'hg push $TESTTMP/t3 -r ff2c9fa2018b -r 3b6f1ec9dde9') [255]