Edgewall Software

Changes between Version 5 and Version 6 of TracMercurial


Ignore:
Timestamp:
Nov 4, 2005, 11:35:13 PM (19 years ago)
Author:
Christian Boos
Comment:

Added more details for the installation of the plugin, and set the advised version to use for v0.1 to r2491

Legend:

Unmodified
Added
Removed
Modified
  • TracMercurial

    v5 v6  
    11= Mercurial Plugin for Trac (#1847) =
    22
    3 There is an experimental plugin for Trac [milestone:0.9] which enables
     3There is an '''experimental''' plugin for Trac [milestone:0.9] which enables
    44[http://www.selenic.com/mercurial Mercurial] to be used
    55instead of [http://subversion.tigris.org Subversion]
    66for the VersioningSystemBackend.
     7
     8''The plugin being experimental, expect some rough edges
     9and a somewhat instable set of features/documentation...''
    710
    811
     
    3437===== Releases =====
    3538|| '''Version''' || mercurial-plugin || Trac vc-refactoring ||
    36 ||      0.1      ||       r2482      ||        r2479        ||
     39||      0.1      ||       r2491      ||        r2491        ||
    3740
    3841
     
    4750== Configuration ==
    4851
     52For general instructions about plugins, see also TracPlugins.
     53
    4954The plugin egg can be added to the `plugins` folder of an existing environment,
    5055or to a brand new environment. Note that if you create a new environment, it's
    51 currently necessary to ''not'' specify the repository directory during the
     56currently necessary to leave the repository directory '''empty''' during the
    5257`initenv` step (''this will probably be fixed soon'').
    5358
    54 In either case, you'll need to specify the backend scheme to be used
    55 (here `hg:`) in front of the actual repository location, in TracIni:
     59Then, you need to specify which version control backend has to be used:
    5660{{{
    5761[trac]
    58 repository_dir = hg:/path/to/my/hg/repository
    59 }}}
     62repository_type = hg
     63repository_dir = /path/to/my/hg/repository
     64}}}
     65''Note: those installing from 0.9 + the patch on #1847 still have to specify `repository_dir=hg:/path/to/my/hg/repository`''
    6066
    6167Also, you'll need to explicitely disable the SVN components:
     
    6672
    6773''Note: that constraint will most certainly be lifted in the future''
     74
     75Finally, if you installed the egg by doing a `python setup.py install`,
     76there's the additional constraint of specifically ''enabling'' the plugin:
     77{{{
     78[components]
     79trac.versioncontrol.svn_fs.* = disabled
     80hgtrac.* = enabled
     81}}}
    6882
    6983