Edgewall Software

Changes between Version 89 and Version 90 of TracMercurial


Ignore:
Timestamp:
Jan 27, 2012, 8:33:46 PM (10 years ago)
Author:
Christian Boos
Comment:

remove references to Trac 0.10 and old verrsions of Mercurial (< 1.0)

Legend:

Unmodified
Added
Removed
Modified
  • TracMercurial

    v89 v90  
    1717   - log:plugins/0.12/mercurial-plugin
    1818 * inactive / unsupported
    19    - log:plugins/0.10/mercurial-plugin
     19   - log:plugins/0.10/mercurial-plugin, see [./@89#Trac0.10 Trac 0.10] and [./@89#Settingupthemercurialplugin setting up the plugin for 0.10]
    2020   - log:plugins/0.11/mercurial-plugin
    2121
     
    2626Consult 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.
    2727
    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.
    4928
    5029==== Trac 0.11 ====
     
    134113|| 0.11.0.9 || [source:plugins/0.11/mercurial-plugin@9445] || [milestone:0.11] or [source:branches/0.11-stable] || 1.0.x, 1.1.x, 1.2.x, 1.3.x, 1.4 ||
    135114|----------------------------------------------------------------------------
    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 ||
    144115}}}
    145116
    146117General Notes:
    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)
    155119
    156120=== Mercurial ===
    157 The plugin has been tested with recent development versions of Mercurial
    158 (upto Changeset 3324:34f08b8883cf from http://selenic.com/hg)
    159 and also with Mercurial 0.7 and 0.8.
    160 '''It won't work with earlier versions, in particular not with 0.6x.'''
    161121
    162122The plugin for 0.11 takes benefit of some new features introduced after the 0.8.2 release of Mercurial, and therefore needs at least a 0.9 version of Mercurial.
     
    200160then you have to explicitly ''enable'' the plugin in TracIni.
    201161
    202 For the version 0.10 of the plugin, this is done like that:
    203 {{{
    204 [components]
    205 tracvc.hg.* = enabled
    206 }}}
    207 
    208162Since the version 0.11 of the plugin, the package has been renamed to `tracext`:
    209163{{{
     
    219173For general instructions, see TracInstall.
    220174
    221 Since [milestone:0.10], the TracAdmin `initenv` command has
     175Since [milestone:0.10], has
    222176now a ''repository type'' argument besides ''repository directory''.
    223177
    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`).
     178When 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`).
    227182
    228183Your [wiki:TracIni <trac_environment>/conf/trac.ini] configuration file
     
    311266
    312267The Wiki syntax has been extended a bit, to cope with the hexadecimal
    313 notation of hg changesets. E.g `[8ef2]` would link to the changeset
     268notation of hg changesets. E.g. `[8ef2]` would link to the changeset
    3142698ef2ba892518c115170398ec754bd1c27cab271f ...
    315270Plain changeset numbers are also recognized, provided they are long enough (12 to 40).