Changes between Version 33 and Version 34 of MultipleRepositorySupport
- Timestamp:
- Jan 26, 2010, 12:05:46 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MultipleRepositorySupport
v33 v34 106 106 Not strictly needed before the merge but would be nice: 107 107 - #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. 108 - 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 }}} 114 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. 108 115 109 116 === Major ===