665 | | === How can I make the TracRevisionLog display the same information as the version control system after a repository revision property edit? === #how-to-update-tracrevlog-after-revprop-edit |
666 | | |
667 | | The TracRevisionLog must be resynced with the repository after an edit to a revision property in the version control back-end. The `trac-admin resync` command can be used to resync the entire repository or a single revision. See `tracadmin help` or TracAdmin#FullCommandReference for more details. |
| 665 | === How can I make the TracRevisionLog display the same information as the version control system after an edit to a repository revision property? === #how-to-update-tracrevlog-after-revprop-edit |
| 666 | |
| 667 | The solution is the same as discussed [TracFaq#how-do-i-get-trac-to-resync-the-timeline-with-my-subversion-repository here]. The TracRevisionLog must be resynced with the repository after an edit to a revision property in the version control back-end. The `trac-admin resync` command can be used to resync the entire repository or a single revision. See `tracadmin help` or TracAdmin#FullCommandReference for more details. |
| 668 | |
| 669 | One can even create a hook to automatically resync the revision history in Trac with that in the repository following a property edit. In Subversion, adding the following to the post-revprop-change hook will enable this behavior. |
| 670 | |
| 671 | {{{ |
| 672 | TRACENV=<PathToYourTracEnv> |
| 673 | trac-admin $TRACENV resync $REV |
| 674 | }}} |