28 | | ==== Trac 0.10 ==== |
29 | | |
30 | | The plugin [source:plugins/0.10/mercurial-plugin] works fine with Trac 0.10.3, though it will lack the "quickjump" to a branch or tag feature (this was implemented in source:sandbox/vc-refactoring, but is only available in the mainline for 0.11). |
31 | | |
32 | | See TracDownload and install Trac the usual way (see TracInstall) |
33 | | |
34 | | The plugin itself is available from source:plugins/0.10/mercurial-plugin |
35 | | |
36 | | Check it out: |
37 | | |
38 | | {{{ |
39 | | svn co http://svn.edgewall.com/repos/trac/plugins/0.10/mercurial-plugin |
40 | | }}} |
41 | | and create an "egg" from there |
42 | | {{{ |
43 | | $ cd mercurial-plugin |
44 | | $ python setup.py bdist_egg |
45 | | }}} |
46 | | |
47 | | |
48 | | Note that this version of the plugin is not actively maintained anymore, but as the same can be said for Trac 0.10.x itself, better upgrade anyway. |
136 | | |||||||| || |
137 | | |---------------------------------------------------------------------------- |
138 | | || '''0.10.0.3''' || [source:plugins/0.10/mercurial-plugin@7951] (0.10) || \ |
139 | | || [milestone:0.10] || 0.7, 0.8, 0.9, 1.0.x, 1.1.x, 1.2 || |
140 | | |---------------------------------------------------------------------------- |
141 | | || 0.2 || r2905 || '''r2905''' || 0.7, 0.8 || |
142 | | || || r2620 || r2620 || 0.7 with 1d7d0c07 || |
143 | | || 0.1 || r2514 || r2511 || 0.7 without 1d7d0c07 || |
147 | | - It is quite likely that some 0.9.x versions (maybe even 0.9.5) won't work anymore with the 0.11 and 0.12 versions of the plugin (i.e. those are the versions actively maintained). Most notably, since r7742 the `filectx` API is used, which means that versions anterior to hg:482c524dd9ab can't possibly work. Anyway, at this time you should not be using a pre-1.0 version of Mercurial anymore. |
148 | | - the 0.12 version works as well as the 0.11 one, but requires the source:sandbox/multirepos (i.e. doesn't work with source:trunk) |
149 | | - the original branch ([source:plugins/0.10/mercurial-plugin]) which is only for Trac 0.10 is not actively maintained anymore (patches still accepted if you happen to fix a bug, of course) |
150 | | - 0.9.1 was reported not to work with the 0.11 version of the plugin |
151 | | - 0.9.4 (and probably quite a few intermediate changesets between 0.9.3 and 0.9.4) interferes badly with the TH:AccountManager plugin when using Python 2.3.5. |
152 | | It's not unlikely that other setups can be affected by the problem, as basically any code that relies on trapping the `ImportError`, after the `mercurial.demandimport` mechanism has been activated, will fail. |
153 | | |
154 | | If you happen to have this problem (`TypeError: 'unloaded module' object is not callable`}, you need at least r5766/r5767. See also [http://www.selenic.com/mercurial/bts/issue605 issue605]. |
| 118 | - the 0.12 version of the plugin works as well as the 0.11 one, but requires the source:0.12-stable (i.e. doesn't work with source:trunk) |
224 | | For the ''repository type'', specify `hg` instead of the default `svn`. |
225 | | For the ''repository directory'', specify the location of the Mercurial repository |
226 | | (without the ending `.hg`). |
| 178 | When creating a new environment with TracAdmin `initenv` command, |
| 179 | - for the ''repository type'', specify `hg` instead of the default `svn`. |
| 180 | - for the ''repository directory'', specify the location of the Mercurial repository |
| 181 | (without the ending `.hg`). |