mercurial/help.py
changeset 3802 eb66d76c7746
parent 3801 6f0c42d50394
child 3813 6fa11a9d7cac
equal deleted inserted replaced
3801:6f0c42d50394 3802:eb66d76c7746
    39 
    39 
    40     "1124706420 25200" (2005-08-22 03:27:00 -0700)
    40     "1124706420 25200" (2005-08-22 03:27:00 -0700)
    41 
    41 
    42     "1145475591 -7200" (2006-04-19 21:39:51 +0200)
    42     "1145475591 -7200" (2006-04-19 21:39:51 +0200)
    43     ''',
    43     ''',
       
    44 
    44     'environment|env|Environment Variables':
    45     'environment|env|Environment Variables':
    45     r'''
    46     r'''
    46 HGEDITOR::
    47 HGEDITOR::
    47     This is the name of the editor to use when committing. Defaults to the
    48     This is the name of the editor to use when committing. Defaults to the
    48     value of EDITOR.
    49     value of EDITOR.
   100     used for commit messages if HGEDITOR isn't set. Defaults to 'vi'.
   101     used for commit messages if HGEDITOR isn't set. Defaults to 'vi'.
   101 
   102 
   102 PYTHONPATH::
   103 PYTHONPATH::
   103     This is used by Python to find imported modules and may need to be set
   104     This is used by Python to find imported modules and may need to be set
   104     appropriately if Mercurial is not installed system-wide.
   105     appropriately if Mercurial is not installed system-wide.
   105     '''
   106     ''',
       
   107 
       
   108     "patterns|File Name Patterns": r'''
       
   109     Mercurial accepts several notations for identifying one or more
       
   110     files at a time.
       
   111 
       
   112     By default, Mercurial treats filenames as shell-style extended
       
   113     glob patterns.
       
   114 
       
   115     Alternate pattern notations must be specified explicitly.
       
   116 
       
   117     To use a plain path name without any pattern matching, start a
       
   118     name with "path:".  These path names must match completely, from
       
   119     the root of the current repository.
       
   120 
       
   121     To use an extended glob, start a name with "glob:".  Globs are
       
   122     rooted at the current directory; a glob such as "*.c" will match
       
   123     files ending in ".c" in the current directory only.
       
   124 
       
   125     The supported glob syntax extensions are "**" to match any string
       
   126     across path separators, and "{a,b}" to mean "a or b".
       
   127 
       
   128     To use a Perl/Python regular expression, start a name with "re:".
       
   129     Regexp pattern matching is anchored at the root of the repository.
       
   130 
       
   131     Plain examples:
       
   132 
       
   133     path:foo/bar   a name bar in a directory named foo in the root of
       
   134                    the repository
       
   135     path:path:name a file or directory named "path:name"
       
   136 
       
   137     Glob examples:
       
   138 
       
   139     glob:*.c       any name ending in ".c" in the current directory
       
   140     *.c            any name ending in ".c" in the current directory
       
   141     **.c           any name ending in ".c" in the current directory, or
       
   142                    any subdirectory
       
   143     foo/*.c        any name ending in ".c" in the directory foo
       
   144     foo/**.c       any name ending in ".c" in the directory foo, or any
       
   145                    subdirectory
       
   146 
       
   147     Regexp examples:
       
   148 
       
   149     re:.*\.c$      any name ending in ".c", anywhere in the repository
       
   150 
       
   151 ''',
   106 }
   152 }
   107 
   153