Edgewall Software

Changes between Version 34 and Version 35 of MultipleRepositorySupport


Ignore:
Timestamp:
Jan 26, 2010, 12:11:02 PM (10 years ago)
Author:
Christian Boos
Comment:

reactivate ticket query

Legend:

Unmodified
Added
Removed
Modified
  • MultipleRepositorySupport

    v34 v35  
    1818 - r7961: initial support for cached repositories
    1919 - r8178: current version - should be "stable" (i.e. you can report bugs against that revision if you find some). Note that there's now support for cached repositories, and as this involved a schema change,  an '''environment upgrade''' is needed.
     20 - r9084: real close to the end of the branch ;-)
    2021
    2122The approach is quite simple: beyond repository connectors, there's now repository providers (IRepositoryProvider components) which are responsible for making available a list of named repositories. That name can be arbitrary (in particular, it may contain '/' to denote a pseudo-hierarchy) and will be used as a prefix for any repository path.
     
    2930
    3031== Related Tickets ==
    31 ![[TicketQuery(group=status,order=priority,col=summary|component|milestone,format=table,keywords=~multirepos)]]
     32[[TicketQuery(group=status,order=priority,col=summary|component|milestone,format=default,keywords=~multirepos)]]
    3233
    3334== Installation (with mercurial) ==
     
    107108 - #7743 for mercurial - should add a contrib file there, containing a `hook` function calling the Trac API appropriately, and have an example of a command hook calling trac-admin directly.
    108109   - A separate script is not strictly necessary (at least on Linux). The following section in `hgrc` does the trick:
    109    {{{
    110 [hooks]
    111 commit = trac-admin /path/to/env changeset added repo_name $HG_NODE
    112 changegroup = hg log -r $HG_NODE: --template "{node} " | xargs trac-admin /path/to/env changeset added repo_name
    113    }}}
     110   {{{ 
     111   [hooks]
     112   commit = trac-admin /path/to/env changeset added repo_name $HG_NODE
     113   changegroup = hg log -r $HG_NODE: --template "{node} " | xargs trac-admin /path/to/env changeset added repo_name
     114   }}} 
    114115   This should be documented in TracMercurial, though. OTOH, for Windows we will need a Python hook anyway, so we could as well create a generic one.
    115116