| 55 | | However, I don't exclude to hack in a more darcsish way to point to the patches, most probably by using reStructuredText interpreted roles..., sooner or later. |
| | 55 | However, as of version 0.7 the backend properly recognizes also the ''hashname'' of the patches: this allows you to refer to any particular changeset either by its ''local cardinal numer'' '''or''' by its ''universal unique id''. So, for example, the patch that introduced this functionality may be reached: |
| | 56 | |
| | 57 | * by its number, [120] |
| | 58 | * by its hash, [20080617165959-97f81-01b798f29e7c925e146c0876e73dc6879e4d9156]: here I actually wrote `[20080617165959-97f81-01b798f29e7c925e146c0876e73dc6879e4d9156]`, and Trac replaced that with its ''local'' cardinal number to avoid useless verbosity |
| | 59 | * using the URL, changeset:20080617165959-97f81-01b798f29e7c925e146c0876e73dc6879e4d9156 |
| 59 | | To work reasonably fast, the backend automatically and incrementally builds a cache of all the needed versions of any file in the repository. It does '''not''' keep a copy of the whole repository, only the files effectively changed by any given changeset. It uses a subdirectory of the `_darcs` metadir of the repository, `trac_cache`, that in turn will contains a directory named after the ''revision'' of the changeset. It can be erased at any time, the backed will recreate it and start rebuilding the version at the following request. |
| | 63 | To work reasonably fast, the backend automatically and incrementally builds a cache of all the needed versions of any file in the repository. It does '''not''' keep a copy of the whole repository, only the files effectively changed by any given changeset. ~~It uses a subdirectory of the `_darcs` metadir of the repository, `trac_cache`, that in turn will contains a directory named after the ''revision'' of the changeset. It can be erased at any time, the backed will recreate it and start rebuilding the version at the following request. The cache directory '''must''' have write permission for the user executing the trac process, usually ''www-data''.~~ |