Changeset 959
- Timestamp:
- Dec 7, 2009, 5:54:37 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/readme.txt
r847 r959 97 97 98 98 To avoid retrieving the same data repeatedly from the repository, 99 statistics is ca hed in files located in `.svndigest`. Subsequent99 statistics is cached in files located in `.svndigest`. Subsequent 100 100 svndigest runs read the cache files and retrieve information from the 101 101 repository only for the revisions that have been committed since the … … 198 198 * Create the plots and HTML presentation. 199 199 200 = Copy Cache = 201 202 As explained above, statistics are cached during a run and svndigest 203 only communicates with the server to retrieve statistics of the 204 activity since last run. Subsequent runs are much faster why it is 205 prefereble to run svndigest in a wc with recent cache available. 206 207 Sometimes it is useful to copy the cache from one wc to another, and 208 an easy way to do this is to use the tool `svndigest-copy-cache`, 209 which is shipped with svndigest. A common use case is when creating, 210 say, a release branch from the trunk, in which case you likely will 211 have two working copies to follow the two branches. If you want to run 212 svndigest on both of them and you want to avoid the first expensive 213 run (without cache) you can copy the cache from the trunk wc to the 214 release-branch wc. 215 216 As explained in the caching section, it is important that the cache 217 reflects a revision that belong to the history of the wc. So, for 218 example, when creating a branch it is crucial to copy the cache from 219 the trunk wc to the new branch wc before running svndigest on trunk 220 wc. Otherwise the cache will contain information about changesets that 221 were committed after the new branch were forked out. This will not 222 only be untrue as these changesets are not in the line of history of 223 the branch, but it will also cause problems for svndigest when 224 calculating the statistics of the most recent revisons and result is 225 undefined due to inconsistency between the cache and the log. For an 226 example of how `svndigest-copy-cache` may be used please refer to the 227 ReleaseProcedure of svndigest. 228 229 `svndigest-copy-cache` copies the cache file from `ROOT` tree to the 230 corresponding directory in `TARGET` tree. The tree structure of the 231 two working copies must be identical because `svndigest-copy-cache` 232 will not create any directories in `TARGET` tree except that 233 `.svndigest` directories are created when necessary. 234 235 Also, `svndigest-copy-cache` is ignorant about svn wc and will parse 236 through `ROOT` directory and all its sub-directories ,looking for 237 svndigest cache files, regardless whether they belong to the same svn 238 working copy or not. Therefore, having other svn wc in subdirectories 239 of `ROOT` might give an unexpected result.
Note: See TracChangeset
for help on using the changeset viewer.