# HG changeset patch
# User timeless <timel...@mozdev.org>
# Date 1474415266 0
#      Tue Sep 20 23:47:46 2016 +0000
# Node ID 07753ca55667d0079f2418084dbf4ebab523cb35
# Parent  b9f5707703a6167686435348dc095a94c22b44b5
# Available At https://bitbucket.org/timeless/mercurial-crew
#              hg pull https://bitbucket.org/timeless/mercurial-crew -r 
07753ca55667
help: use single quotes in use warning

diff -r b9f5707703a6 -r 07753ca55667 mercurial/help.py
--- a/mercurial/help.py Tue Sep 20 23:47:30 2016 +0000
+++ b/mercurial/help.py Tue Sep 20 23:47:46 2016 +0000
@@ -358,7 +358,7 @@
             mod = extensions.find(name)
             doc = gettext(mod.__doc__) or ''
             if '\n' in doc.strip():
-                msg = _('(use "hg help -e %s" to show help for '
+                msg = _("(use 'hg help -e %s' to show help for "
                         'the %s extension)') % (name, name)
                 rst.append('\n%s\n' % msg)
         except KeyError:
@@ -374,7 +374,7 @@
 
         if not ui.verbose:
             if not full:
-                rst.append(_('\n(use "hg %s -h" to show more help)\n')
+                rst.append(_("\n(use 'hg %s -h' to show more help)\n")
                            % name)
             elif not ui.quiet:
                 rst.append(_('\n(some details hidden, use --verbose '
@@ -450,20 +450,20 @@
             rst.append('\n%s\n' % optrst(_("global options"),
                                          commands.globalopts, ui.verbose))
             if name == 'shortlist':
-                rst.append(_('\n(use "hg help" for the full list '
+                rst.append(_("\n(use 'hg help' for the full list "
                              'of commands)\n'))
         else:
             if name == 'shortlist':
-                rst.append(_('\n(use "hg help" for the full list of commands '
+                rst.append(_("\n(use 'hg help' for the full list of commands "
                              'or "hg -v" for details)\n'))
             elif name and not full:
-                rst.append(_('\n(use "hg help %s" to show the full help '
+                rst.append(_("\n(use 'hg help %s' to show the full help "
                              'text)\n') % name)
             elif name and cmds and name in cmds.keys():
-                rst.append(_('\n(use "hg help -v -e %s" to show built-in '
+                rst.append(_("\n(use 'hg help -v -e %s' to show built-in "
                              'aliases and global options)\n') % name)
             else:
-                rst.append(_('\n(use "hg help -v%s" to show built-in aliases '
+                rst.append(_("\n(use 'hg help -v%s' to show built-in aliases "
                              'and global options)\n')
                            % (name and " " + name or ""))
         return rst
@@ -498,7 +498,7 @@
 
         try:
             cmdutil.findcmd(name, commands.table)
-            rst.append(_('\nuse "hg help -c %s" to see help for '
+            rst.append(_("\nuse 'hg help -c %s' to see help for "
                        'the %s command\n') % (name, name))
         except error.UnknownCommand:
             pass
@@ -536,7 +536,7 @@
             modcmds = set([c.partition('|')[0] for c in ct])
             rst.extend(helplist(modcmds.__contains__))
         else:
-            rst.append(_('(use "hg help extensions" for information on 
enabling'
+            rst.append(_("(use 'hg help extensions' for information on 
enabling"
                        ' extensions)\n'))
         return rst
 
@@ -549,7 +549,7 @@
                               "extension:") % cmd, {ext: doc}, indent=4,
                        showdeprecated=True)
         rst.append('\n')
-        rst.append(_('(use "hg help extensions" for information on enabling '
+        rst.append(_("(use 'hg help extensions' for information on enabling "
                    'extensions)\n'))
         return rst
 
@@ -575,7 +575,7 @@
                 rst.append('\n')
         if not rst:
             msg = _('no matches')
-            hint = _('try "hg help" for a list of topics')
+            hint = _("try 'hg help' for a list of topics")
             raise error.Abort(msg, hint=hint)
     elif name and name != 'shortlist':
         queries = []
@@ -598,7 +598,7 @@
                 raise error.UnknownCommand(name)
             else:
                 msg = _('no such help topic: %s') % name
-                hint = _('try "hg help --keyword %s"') % name
+                hint = _("try 'hg help --keyword %s'") % name
                 raise error.Abort(msg, hint=hint)
     else:
         # program name
diff -r b9f5707703a6 -r 07753ca55667 tests/test-alias.t
--- a/tests/test-alias.t        Tue Sep 20 23:47:30 2016 +0000
+++ b/tests/test-alias.t        Tue Sep 20 23:47:46 2016 +0000
@@ -99,7 +99,7 @@
   
       patchbomb     command to send changesets as (a series of) patch emails
   
-  (use "hg help extensions" for information on enabling extensions)
+  (use 'hg help extensions' for information on enabling extensions)
 
 
 no definition
@@ -441,7 +441,7 @@
   
   alias for: hg root
   
-  (use "hg rt -h" to show more help)
+  (use 'hg rt -h' to show more help)
   [255]
 
 invalid global arguments for normal commands, aliases, and shell aliases
@@ -470,7 +470,7 @@
    summary       summarize working directory state
    update        update working directory (or switch revisions)
   
-  (use "hg help" for the full list of commands or "hg -v" for details)
+  (use 'hg help' for the full list of commands or "hg -v" for details)
   [255]
   $ hg --invalid mylog
   hg: option --invalid not recognized
@@ -496,7 +496,7 @@
    summary       summarize working directory state
    update        update working directory (or switch revisions)
   
-  (use "hg help" for the full list of commands or "hg -v" for details)
+  (use 'hg help' for the full list of commands or "hg -v" for details)
   [255]
   $ hg --invalid blank
   hg: option --invalid not recognized
@@ -522,7 +522,7 @@
    summary       summarize working directory state
    update        update working directory (or switch revisions)
   
-  (use "hg help" for the full list of commands or "hg -v" for details)
+  (use 'hg help' for the full list of commands or "hg -v" for details)
   [255]
 
 environment variable changes in alias commands
diff -r b9f5707703a6 -r 07753ca55667 tests/test-commandserver.t
--- a/tests/test-commandserver.t        Tue Sep 20 23:47:30 2016 +0000
+++ b/tests/test-commandserver.t        Tue Sep 20 23:47:46 2016 +0000
@@ -78,7 +78,7 @@
    summary       summarize working directory state
    update        update working directory (or switch revisions)
   
-  (use "hg help" for the full list of commands or "hg -v" for details)
+  (use 'hg help' for the full list of commands or "hg -v" for details)
   *** runcommand id --quiet
   000000000000
   *** runcommand id
diff -r b9f5707703a6 -r 07753ca55667 tests/test-contrib-perf.t
--- a/tests/test-contrib-perf.t Tue Sep 20 23:47:30 2016 +0000
+++ b/tests/test-contrib-perf.t Tue Sep 20 23:47:46 2016 +0000
@@ -105,7 +105,7 @@
                  benchmark the computation of various volatile set
    perfwalk      (no help text available)
   
-  (use "hg help -v perfstatusext" to show built-in aliases and global options)
+  (use 'hg help -v perfstatusext' to show built-in aliases and global options)
   $ hg perfaddremove
   $ hg perfancestors
   $ hg perfancestorset 2
diff -r b9f5707703a6 -r 07753ca55667 tests/test-dispatch.t
--- a/tests/test-dispatch.t     Tue Sep 20 23:47:30 2016 +0000
+++ b/tests/test-dispatch.t     Tue Sep 20 23:47:46 2016 +0000
@@ -27,7 +27,7 @@
    -I --include PATTERN [+] include names matching the given patterns
    -X --exclude PATTERN [+] exclude names matching the given patterns
   
-  (use "hg cat -h" to show more help)
+  (use 'hg cat -h' to show more help)
   [255]
 
 [defaults]
diff -r b9f5707703a6 -r 07753ca55667 tests/test-extdiff.t
--- a/tests/test-extdiff.t      Tue Sep 20 23:47:30 2016 +0000
+++ b/tests/test-extdiff.t      Tue Sep 20 23:47:46 2016 +0000
@@ -399,14 +399,14 @@
 
   $ HGPLAIN=1 hg --config hgext.extdiff= --config extdiff.cmd.td=hi help -k 
xyzzy
   abort: no matches
-  (try "hg help" for a list of topics)
+  (try 'hg help' for a list of topics)
   [255]
 
   $ HGPLAIN=1 hg --config hgext.extdiff= --config extdiff.cmd.td=hi help td > 
/dev/null
 
   $ LC_MESSAGES=ja_JP.UTF-8 hg --config hgext.extdiff= --config 
extdiff.cmd.td=$U help -k xyzzy
   abort: no matches
-  (try "hg help" for a list of topics)
+  (try 'hg help' for a list of topics)
   [255]
 
   $ LC_MESSAGES=ja_JP.UTF-8 hg --config hgext.extdiff= --config 
extdiff.cmd.td=$U help td \
diff -r b9f5707703a6 -r 07753ca55667 tests/test-extension.t
--- a/tests/test-extension.t    Tue Sep 20 23:47:30 2016 +0000
+++ b/tests/test-extension.t    Tue Sep 20 23:47:46 2016 +0000
@@ -592,7 +592,7 @@
   
       graphlog      command to view revision graphs from a shell (DEPRECATED)
   
-  (use "hg help extensions" for information on enabling extensions)
+  (use 'hg help extensions' for information on enabling extensions)
 
 Extension module help vs command help:
 
@@ -616,7 +616,7 @@
       compared to the working directory, and, when no revisions are specified,
       the working directory files are compared to its parent.
   
-  (use "hg help -e extdiff" to show help for the extdiff extension)
+  (use 'hg help -e extdiff' to show help for the extdiff extension)
   
   options ([+] can be repeated):
   
@@ -696,7 +696,7 @@
   
    extdiff       use external program to diff repository (or selected files)
   
-  (use "hg help -v -e extdiff" to show built-in aliases and global options)
+  (use 'hg help -v -e extdiff' to show built-in aliases and global options)
 
 
 
@@ -748,7 +748,7 @@
       A range acts as a closed interval. This means that a range of 3:5 gives 
3,
       4 and 5. Similarly, a range of 9:6 gives 9, 8, 7, and 6.
   
-  use "hg help -c multirevs" to see help for the multirevs command
+  use 'hg help -c multirevs' to see help for the multirevs command
 
 
 
@@ -770,7 +770,7 @@
   
   multirevs command
   
-  (use "hg multirevs -h" to show more help)
+  (use 'hg multirevs -h' to show more help)
   [255]
 
 
@@ -830,7 +830,7 @@
    dodo          Does nothing
    foofoo        Writes 'Foo foo'
   
-  (use "hg help -v -e dodo" to show built-in aliases and global options)
+  (use 'hg help -v -e dodo' to show built-in aliases and global options)
 
 Make sure that '-v -e' prints list of built-in aliases along with
 extension help itself
@@ -871,7 +871,7 @@
   
   Does nothing
   
-  (use "hg help -e dodo" to show help for the dodo extension)
+  (use 'hg help -e dodo' to show help for the dodo extension)
   
   options:
   
@@ -933,7 +933,7 @@
    beep          Writes 'Beep beep'
    something     Does something
   
-  (use "hg help -v dudu" to show built-in aliases and global options)
+  (use 'hg help -v dudu' to show built-in aliases and global options)
 
 In case when extension name doesn't match any of its commands,
 help options '-v' and '-v -e' should be equivalent
@@ -1011,7 +1011,7 @@
   
       patchbomb     command to send changesets as (a series of) patch emails
   
-  (use "hg help extensions" for information on enabling extensions)
+  (use 'hg help extensions' for information on enabling extensions)
 
 
   $ hg qdel
@@ -1020,7 +1020,7 @@
   
       mq            manage a stack of patches
   
-  (use "hg help extensions" for information on enabling extensions)
+  (use 'hg help extensions' for information on enabling extensions)
   [255]
 
 
@@ -1030,7 +1030,7 @@
   
       churn         command to display statistics about repository history
   
-  (use "hg help extensions" for information on enabling extensions)
+  (use 'hg help extensions' for information on enabling extensions)
   [255]
 
 
@@ -1040,12 +1040,12 @@
   $ hg help churn
   churn extension - command to display statistics about repository history
   
-  (use "hg help extensions" for information on enabling extensions)
+  (use 'hg help extensions' for information on enabling extensions)
 
   $ hg help patchbomb
   patchbomb extension - command to send changesets as (a series of) patch 
emails
   
-  (use "hg help extensions" for information on enabling extensions)
+  (use 'hg help extensions' for information on enabling extensions)
 
 
 Broken disabled extension and command:
@@ -1065,7 +1065,7 @@
   $ hg --config extensions.path=./path.py help broken
   broken extension - (no help text available)
   
-  (use "hg help extensions" for information on enabling extensions)
+  (use 'hg help extensions' for information on enabling extensions)
 
 
   $ cat > hgext/forest.py <<EOF
@@ -1074,7 +1074,7 @@
   $ hg --config extensions.path=./path.py help foo > /dev/null
   warning: error finding commands in $TESTTMP/hgext/forest.py (glob)
   abort: no such help topic: foo
-  (try "hg help --keyword foo")
+  (try 'hg help --keyword foo')
   [255]
 
   $ cat > throw.py <<EOF
diff -r b9f5707703a6 -r 07753ca55667 tests/test-globalopts.t
--- a/tests/test-globalopts.t   Tue Sep 20 23:47:30 2016 +0000
+++ b/tests/test-globalopts.t   Tue Sep 20 23:47:46 2016 +0000
@@ -361,7 +361,7 @@
    templating    Template Usage
    urls          URL Paths
   
-  (use "hg help -v" to show built-in aliases and global options)
+  (use 'hg help -v' to show built-in aliases and global options)
 
 
 
@@ -444,7 +444,7 @@
    templating    Template Usage
    urls          URL Paths
   
-  (use "hg help -v" to show built-in aliases and global options)
+  (use 'hg help -v' to show built-in aliases and global options)
 
 Not tested: --debugger
 
diff -r b9f5707703a6 -r 07753ca55667 tests/test-help.t
--- a/tests/test-help.t Tue Sep 20 23:47:30 2016 +0000
+++ b/tests/test-help.t Tue Sep 20 23:47:46 2016 +0000
@@ -23,7 +23,7 @@
    summary       summarize working directory state
    update        update working directory (or switch revisions)
   
-  (use "hg help" for the full list of commands or "hg -v" for details)
+  (use 'hg help' for the full list of commands or "hg -v" for details)
 
   $ hg -q
    add           add the specified files on the next commit
@@ -123,7 +123,7 @@
    templating    Template Usage
    urls          URL Paths
   
-  (use "hg help -v" to show built-in aliases and global options)
+  (use 'hg help -v' to show built-in aliases and global options)
 
   $ hg -q help
    add           add the specified files on the next commit
@@ -332,7 +332,7 @@
    -h --help              display help and exit
       --hidden            consider hidden changesets
   
-  (use "hg help" for the full list of commands)
+  (use 'hg help' for the full list of commands)
 
   $ hg add -h
   hg add [OPTION]... [FILE]...
@@ -467,7 +467,7 @@
    -S --subrepos            recurse into subrepositories
    -n --dry-run             do not perform actions, just print output
   
-  (use "hg add -h" to show more help)
+  (use 'hg add -h' to show more help)
   [255]
 
 Test ambiguous command help
@@ -478,7 +478,7 @@
    add           add the specified files on the next commit
    addremove     add all new files, delete all missing files
   
-  (use "hg help -v ad" to show built-in aliases and global options)
+  (use 'hg help -v ad' to show built-in aliases and global options)
 
 Test command without options
 
@@ -622,7 +622,7 @@
 
   $ hg help foo
   abort: no such help topic: foo
-  (try "hg help --keyword foo")
+  (try 'hg help --keyword foo')
   [255]
 
   $ hg skjdfks
@@ -649,7 +649,7 @@
    summary       summarize working directory state
    update        update working directory (or switch revisions)
   
-  (use "hg help" for the full list of commands or "hg -v" for details)
+  (use 'hg help' for the full list of commands or "hg -v" for details)
   [255]
 
 
@@ -842,7 +842,7 @@
    templating    Template Usage
    urls          URL Paths
   
-  (use "hg help -v" to show built-in aliases and global options)
+  (use 'hg help -v' to show built-in aliases and global options)
 
 
 Test list of internal help commands
@@ -921,7 +921,7 @@
    debugwireargs
                  (no help text available)
   
-  (use "hg help -v debug" to show built-in aliases and global options)
+  (use 'hg help -v debug' to show built-in aliases and global options)
 
 internals topic renders index of available sub-topics
 
@@ -1104,7 +1104,7 @@
   
    nohelp        (no help text available)
   
-  (use "hg help -v helpext" to show built-in aliases and global options)
+  (use 'hg help -v helpext' to show built-in aliases and global options)
 
 
 test deprecated and experimental options are hidden in command help
@@ -1330,7 +1330,7 @@
   Extension Commands:
   $ hg help -c schemes
   abort: no such help topic: schemes
-  (try "hg help --keyword schemes")
+  (try 'hg help --keyword schemes')
   [255]
   $ hg help -e schemes |head -1
   schemes extension - extend schemes with shortcuts to repository swarms
@@ -1345,7 +1345,7 @@
   $ hg help -e -c commit > /dev/null
   $ hg help -e commit > /dev/null
   abort: no such help topic: commit
-  (try "hg help --keyword commit")
+  (try 'hg help --keyword commit')
   [255]
 
 Test keyword search help
@@ -1387,14 +1387,14 @@
 
   $ hg help nonexistingtopicthatwillneverexisteverever
   abort: no such help topic: nonexistingtopicthatwillneverexisteverever
-  (try "hg help --keyword nonexistingtopicthatwillneverexisteverever")
+  (try 'hg help --keyword nonexistingtopicthatwillneverexisteverever')
   [255]
 
 Test unfound keyword
 
   $ hg help --keyword nonexistingwordthatwillneverexisteverever
   abort: no matches
-  (try "hg help" for a list of topics)
+  (try 'hg help' for a list of topics)
   [255]
 
 Test omit indicating for help
@@ -1633,7 +1633,7 @@
   $ hg help -e ambiguous
   ambiguous extension - (no help text available)
   
-  (use "hg help extensions" for information on enabling extensions)
+  (use 'hg help extensions' for information on enabling extensions)
 
 Test dynamic list of merge tools only shows up once
   $ hg help merge-tools
diff -r b9f5707703a6 -r 07753ca55667 tests/test-mq.t
--- a/tests/test-mq.t   Tue Sep 20 23:47:30 2016 +0000
+++ b/tests/test-mq.t   Tue Sep 20 23:47:46 2016 +0000
@@ -96,7 +96,7 @@
    qtop          print the name of the current patch
    qunapplied    print the patches not yet applied
   
-  (use "hg help -v mq" to show built-in aliases and global options)
+  (use 'hg help -v mq' to show built-in aliases and global options)
 
   $ hg init a
   $ cd a
diff -r b9f5707703a6 -r 07753ca55667 tests/test-qrecord.t
--- a/tests/test-qrecord.t      Tue Sep 20 23:47:30 2016 +0000
+++ b/tests/test-qrecord.t      Tue Sep 20 23:47:46 2016 +0000
@@ -9,7 +9,7 @@
   record extension - commands to interactively select changes for
   commit/qrefresh (DEPRECATED)
   
-  (use "hg help extensions" for information on enabling extensions)
+  (use 'hg help extensions' for information on enabling extensions)
 
 help qrecord (no record)
 
@@ -19,7 +19,7 @@
       record        commands to interactively select changes for 
commit/qrefresh
                     (DEPRECATED)
   
-  (use "hg help extensions" for information on enabling extensions)
+  (use 'hg help extensions' for information on enabling extensions)
 
   $ echo "[extensions]"     >> $HGRCPATH
   $ echo "record="          >> $HGRCPATH
@@ -55,7 +55,7 @@
   
       This command is not available when committing a merge.
   
-  (use "hg help -e record" to show help for the record extension)
+  (use 'hg help -e record' to show help for the record extension)
   
   options ([+] can be repeated):
   
@@ -99,7 +99,7 @@
   
   interactively record a new patch
   
-  (use "hg qrecord -h" to show more help)
+  (use 'hg qrecord -h' to show more help)
   [255]
 
 qrecord patch (mq not present)
diff -r b9f5707703a6 -r 07753ca55667 tests/test-record.t
--- a/tests/test-record.t       Tue Sep 20 23:47:30 2016 +0000
+++ b/tests/test-record.t       Tue Sep 20 23:47:46 2016 +0000
@@ -41,7 +41,7 @@
   
       This command is not available when committing a merge.
   
-  (use "hg help -e record" to show help for the record extension)
+  (use 'hg help -e record' to show help for the record extension)
   
   options ([+] can be repeated):
   
diff -r b9f5707703a6 -r 07753ca55667 tests/test-shelve.t
--- a/tests/test-shelve.t       Tue Sep 20 23:47:30 2016 +0000
+++ b/tests/test-shelve.t       Tue Sep 20 23:47:46 2016 +0000
@@ -54,7 +54,7 @@
       To delete specific shelved changes, use "--delete". To delete all shelved
       changes, use "--cleanup".
   
-  (use "hg help -e shelve" to show help for the shelve extension)
+  (use 'hg help -e shelve' to show help for the shelve extension)
   
   options ([+] can be repeated):
   
diff -r b9f5707703a6 -r 07753ca55667 tests/test-strict.t
--- a/tests/test-strict.t       Tue Sep 20 23:47:30 2016 +0000
+++ b/tests/test-strict.t       Tue Sep 20 23:47:46 2016 +0000
@@ -37,7 +37,7 @@
    summary       summarize working directory state
    update        update working directory (or switch revisions)
   
-  (use "hg help" for the full list of commands or "hg -v" for details)
+  (use 'hg help' for the full list of commands or "hg -v" for details)
   [255]
   $ hg annotate a
   0: a
diff -r b9f5707703a6 -r 07753ca55667 tests/test-strip.t
--- a/tests/test-strip.t        Tue Sep 20 23:47:30 2016 +0000
+++ b/tests/test-strip.t        Tue Sep 20 23:47:46 2016 +0000
@@ -664,7 +664,7 @@
   
   strip changesets and all their descendants from the repository
   
-  (use "hg help -e strip" to show help for the strip extension)
+  (use 'hg help -e strip' to show help for the strip extension)
   
   options ([+] can be repeated):
   
@@ -677,7 +677,7 @@
    -B --bookmark VALUE [+] remove revs only reachable from given bookmark
       --mq                 operate on patch repository
   
-  (use "hg strip -h" to show more help)
+  (use 'hg strip -h' to show more help)
   [255]
 
   $ cd ..
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to