Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 28961:2e58dc022caa
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.
author | timeless <timeless@mozdev.org> |
---|---|
date | Thu, 14 Apr 2016 15:17:15 +0000 |
parents | 78759f78a44e |
children | 602cc9bf036e |
line wrap: on
line diff
--- 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'))