Edgewall Software

Changes between Version 6 and Version 7 of MultipleRepositorySupport


Ignore:
Timestamp:
Mar 7, 2008, 2:55:04 PM (12 years ago)
Author:
edgimar
Comment:

added installation instructions for use with mercurial

Legend:

Unmodified
Added
Removed
Modified
  • MultipleRepositorySupport

    v6 v7  
    1919But `IRepositoryProvider` components can make other repositories available. In particular, the default `RepositoryManager` itself provides a list of repositories listed in a new `[repositories]` section in TracIni. See r6447 for more details.
    2020
     21= Installation (with mercurial) =
     22
     23A current installation procedure which works is the following:
     24
     251. Check out the mercurial plugin:
     26{{{
     27svn co http://svn.edgewall.com/repos/trac/sandbox/mercurial-plugin-0.12
     28}}}
     292. build the mercurial plugin.  From within the checked-out directory, build the egg file (it will end up in the dist subdirectory):
     30{{{
     31python setup.py bdist_egg
     32}}}
     333. Check out the multirepos branch:
     34{{{
     35svn co http://svn.edgewall.com/repos/trac/sandbox/multirepos
     36}}}
     374. Install the multirepos version of trac (from within the multirepos directory, as root):
     38{{{
     39python setup.py install
     40}}}
     415. Create your trac environment directory
     42
     436. Copy the mercurial plugin egg file to the <trac-env>/plugins directory
     44
     457. make sure the following is somewhere in <trac-env>/conf/trac.ini, adding all the desired repositories to the [repositories] section:
     46{{{
     47[components]
     48tracext.hg.* = enabled
     49
     50[repositories]
     51my_repository_a.dir = <path_to_a_repository>
     52my_repository_b.dir = <path_to_another_repository>
     53
     54[trac]
     55repository_dir = <path_to_default_repository>
     56repository_type = hg
     57}}}
     588. Cross your fingers, and hope it works :)
    2159
    2260= TODO =