# HG changeset patch # User timeless # Date 1460647035 0 # Node ID 2e58dc022caab257c9db390b6b45c6a45162d712 # Parent 14e683d6b27359325a4383f85cfb644d45fed0ac debugcreatestreamclonebundle: 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. diff -r 14e683d6b273 -r 2e58dc022caa mercurial/commands.py --- a/mercurial/commands.py Sat Apr 16 09:02:37 2016 -0700 +++ b/mercurial/commands.py Thu Apr 14 15:17:15 2016 +0000 @@ -1387,7 +1387,7 @@ # Packed bundles are a pseudo bundle format for now. if cgversion == 's1': raise error.Abort(_('packed bundles cannot be produced by "hg bundle"'), - hint=_('use "hg debugcreatestreamclonebundle"')) + hint=_("use 'hg debugcreatestreamclonebundle'")) if opts.get('all'): if dest: @@ -4236,7 +4236,7 @@ extra += ' --date %s' % opts['date'] if opts.get('log'): extra += ' --log' - hint=_('use hg resolve and hg graft --continue%s') % extra + hint=_("use 'hg resolve' and 'hg graft --continue%s'") % extra raise error.Abort( _("unresolved conflicts, can't continue"), hint=hint) @@ -6319,7 +6319,7 @@ if not opts.get('rev') and p2 != nullid: # revert after merge is a trap for new users (issue2915) raise error.Abort(_('uncommitted merge with no revision specified'), - hint=_('use "hg update" or see "hg help revert"')) + hint=_("use 'hg update' or see 'hg help revert'")) ctx = scmutil.revsingle(repo, opts.get('rev')) diff -r 14e683d6b273 -r 2e58dc022caa tests/test-bundle.t --- a/tests/test-bundle.t Sat Apr 16 09:02:37 2016 -0700 +++ b/tests/test-bundle.t Thu Apr 14 15:17:15 2016 +0000 @@ -260,7 +260,7 @@ $ hg -R test bundle -t packed1 packed.hg abort: packed bundles cannot be produced by "hg bundle" - (use "hg debugcreatestreamclonebundle") + (use 'hg debugcreatestreamclonebundle') [255] packed1 is produced properly