Mercurial > hg
comparison hgwebdir.cgi @ 7535:9a962209dc28
merge with crew-stable
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Fri, 19 Dec 2008 08:20:19 +0100 |
parents | e60aaae83323 |
children | b7d4db95e95a |
comparison
equal
deleted
inserted
replaced
7534:5aca12729a0d | 7535:9a962209dc28 |
---|---|
30 # [paths] | 30 # [paths] |
31 # virtual/path1 = /real/path1 | 31 # virtual/path1 = /real/path1 |
32 # virtual/path2 = /real/path2 | 32 # virtual/path2 = /real/path2 |
33 # virtual/root = /real/root/* | 33 # virtual/root = /real/root/* |
34 # / = /real/root2/* | 34 # / = /real/root2/* |
35 # virtual/root2 = /real/root2/** | |
35 # | 36 # |
36 # [collections] | 37 # [collections] |
37 # /prefix/to/strip/off = /root/of/tree/full/of/repos | 38 # /prefix/to/strip/off = /root/of/tree/full/of/repos |
38 # | 39 # |
39 # paths example: | 40 # paths example: |
40 # | 41 # |
41 # * First two lines mount one repository into one virtual path, like | 42 # * First two lines mount one repository into one virtual path, like |
42 # '/real/path1' into 'virtual/path1'. | 43 # '/real/path1' into 'virtual/path1'. |
43 # | 44 # |
44 # * The third entry tells every mercurial repository found in | 45 # * The third entry mounts every mercurial repository found in '/real/root' |
45 # '/real/root', recursively, should be mounted in 'virtual/root'. This | 46 # in 'virtual/root'. This format is preferred over the [collections] one, |
46 # format is preferred over the [collections] one, using absolute paths | 47 # since using absolute paths as configuration keys is not support on every |
47 # as configuration keys is not supported on every platform (including | 48 # platform (especially on Windows). |
48 # Windows). | |
49 # | 49 # |
50 # * The last entry is a special case mounting all repositories in | 50 # * The fourth entry is a special case mounting all repositories in |
51 # /'real/root2' in the root of the virtual directory. | 51 # /'real/root2' in the root of the virtual directory. |
52 # | |
53 # * The fifth entry recursively finds all repositories under the real root, | |
54 # and mounts them using their relative path (to given real root) under the | |
55 # virtual root. | |
52 # | 56 # |
53 # collections example: say directory tree /foo contains repos /foo/bar, | 57 # collections example: say directory tree /foo contains repos /foo/bar, |
54 # /foo/quux/baz. Give this config section: | 58 # /foo/quux/baz. Give this config section: |
55 # [collections] | 59 # [collections] |
56 # /foo = /foo | 60 # /foo = /foo |