close
Warning:
Can't synchronize with repository "(default)" (/hepforge/svn/dvegas does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Nov 9, 2012, 9:15:36 AM (12 years ago)
- Author:
-
trac
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v2
|
|
108 | 108 | /usr/bin/trac-admin /path/to/env changeset added "$1" "$2" |
109 | 109 | }}} |
| 110 | Note: Ubuntu doesn't seem to like /usr/bin/trac-admin, so just use: |
| 111 | {{{#!sh |
| 112 | #!/bin/sh |
| 113 | export PYTHON_EGG_CACHE="/path/to/dir" |
| 114 | trac-admin /path/to/env/ changeset added "$1" "$2" |
| 115 | }}} |
110 | 116 | On Windows (`post-commit.cmd`): |
111 | 117 | {{{#!application/x-dos-batch |
… |
… |
|
136 | 142 | }}} |
137 | 143 | |
138 | | For Mercurial, add the following entries to the `.hgrc` file of each repository accessed by Trac (if [trac:TracMercurial] is installed in a Trac `plugins` directory, download [source:plugins/0.13/mercurial-plugin/tracext/hg/hooks.py hooks.py] and place it somewhere accessible): |
| 144 | For Mercurial, add the following entries to the `.hgrc` file of each repository accessed by Trac (if [trac:TracMercurial] is installed in a Trac `plugins` directory, download [trac:source:mercurial-plugin/tracext/hg/hooks.py hooks.py] and place it somewhere accessible): |
139 | 145 | {{{#!ini |
140 | 146 | [hooks] |
… |
… |
|
169 | 175 | |
170 | 176 | == Migration from a single-repository setup (Mercurial) == #MigrationMercurial |
171 | | The following procedure illustrates a typical migration from a Mercurial single-repository setup to multiple repositories. Please note that at the time of writing, no initial resynchronization or any hooks are necessary for Mercurial repositories - see #9485 for more information. |
| 177 | The following procedure illustrates a typical migration from a Mercurial single-repository setup to multiple repositories. Please note that at the time of writing, no initial resynchronization or any hooks are necessary for Mercurial repositories - see [trac:ticket:9485 #9485] for more information. |
172 | 178 | |
173 | 179 | 1. Upgrade to the latest version of the TracMercurial plugin. |