hgwebdir.cgi
changeset 7450 79d1bb737c16
parent 6142 50a277e6ceae
child 7523 e60aaae83323
equal deleted inserted replaced
7449:f848d7f96195 7450:79d1bb737c16
    26 
    26 
    27 # The config file looks like this.  You can have paths to individual
    27 # The config file looks like this.  You can have paths to individual
    28 # repos, collections of repos in a directory tree, or both.
    28 # repos, collections of repos in a directory tree, or both.
    29 #
    29 #
    30 # [paths]
    30 # [paths]
    31 # virtual/path = /real/path
    31 # virtual/path1 = /real/path1
    32 # virtual/path = /real/path
    32 # virtual/path2 = /real/path2
       
    33 # virtual/root = /real/root/*
       
    34 # / = /real/root2/*
    33 #
    35 #
    34 # [collections]
    36 # [collections]
    35 # /prefix/to/strip/off = /root/of/tree/full/of/repos
    37 # /prefix/to/strip/off = /root/of/tree/full/of/repos
       
    38 #
       
    39 # paths example: 
       
    40 #
       
    41 # * First two lines mount one repository into one virtual path, like
       
    42 # '/real/path1' into 'virtual/path1'.
       
    43 #
       
    44 # * The third entry tells every mercurial repository found in
       
    45 # '/real/root', recursively, should be mounted in 'virtual/root'. This
       
    46 # format is preferred over the [collections] one, using absolute paths
       
    47 # as configuration keys is not supported on every platform (including
       
    48 # Windows).
       
    49 #
       
    50 # * The last entry is a special case mounting all repositories in
       
    51 # /'real/root2' in the root of the virtual directory.
    36 #
    52 #
    37 # collections example: say directory tree /foo contains repos /foo/bar,
    53 # collections example: say directory tree /foo contains repos /foo/bar,
    38 # /foo/quux/baz.  Give this config section:
    54 # /foo/quux/baz.  Give this config section:
    39 #   [collections]
    55 #   [collections]
    40 #   /foo = /foo
    56 #   /foo = /foo