22 | | === Trac === |
23 | | |
24 | | Consult the version table [#Releases below] to check which precise version you need for your version of Trac. If you want to get a specific revision, add an `svn up -rxxx` step to the instructions below, after the checkout. |
25 | | |
26 | | ==== Trac 0.12 ==== |
27 | | |
28 | | The latest version of the plugin is at [source:plugins/0.12/mercurial-plugin]. |
29 | | |
30 | | This was merged from [source:plugins/multirepos/mercurial-plugin] as part of the MultipleRepositorySupport branch. |
31 | | |
32 | | Installation of the plugin: |
33 | | {{{ |
34 | | svn co http://svn.edgewall.com/repos/trac/plugins/0.12/mercurial-plugin |
35 | | }}} |
36 | | create an "egg" from there: |
37 | | {{{ |
38 | | $ cd mercurial-plugin |
39 | | $ python setup.py bdist_egg |
40 | | }}} |
41 | | |
42 | | |
43 | | ==== Releases and compatibility matrix ==== #Releases |
| 22 | |
| 23 | === Releases and compatibility matrix #Releases |
| 57 | === Trac === |
| 58 | |
| 59 | Consult the version table [#Releases below] to check which precise version you need for your version of Trac. If you want to get a specific revision, add an `svn up -rxxx` step to the instructions below, after the checkout. |
| 60 | |
| 61 | Installation of the plugin: |
| 62 | {{{ |
| 63 | svn co http://svn.edgewall.com/repos/trac/plugins/0.12/mercurial-plugin |
| 64 | }}} |
| 65 | or: |
| 66 | {{{ |
| 67 | svn co http://svn.edgewall.com/repos/trac/plugins/0.13/mercurial-plugin |
| 68 | }}} |
| 69 | depending on the version of Trac you're using ([source:branches/0.12-stable 0.12] or [source:trunk 0.13dev]). |
| 70 | |
| 71 | Then from the checkout (`cd mercurial-plugin`), you have various installation options: |
| 72 | - create an "egg" which you can copy to your `$TRACENV/plugins`, for example: |
| 73 | {{{ |
| 74 | $ python setup.py bdist_egg |
| 75 | }}} |
| 76 | - install it in the current Python (or [http://pypi.python.org/pypi/virtualenv virtualenv]) installation: |
| 77 | {{{ |
| 78 | $ python setup.py install |
| 79 | }}} |
| 80 | - similar to the above, but directly use the code from the checkout (ideal for hacking): |
| 81 | {{{ |
| 82 | $ python setup.py develop |
| 83 | }}} |
| 84 | |
| 85 | |
| 86 | |