Edgewall Software

Changes between Version 318 and Version 319 of 0.12/TracFaq


Ignore:
Timestamp:
Aug 15, 2010, 6:42:55 PM (14 years ago)
Author:
Remy Blank
Comment:

Updated resyncrepository resync.

Legend:

Unmodified
Added
Removed
Modified
  • 0.12/TracFaq

    v318 v319  
    539539
    540540{{{
    541   trac-admin <yourprojenv> resync
     541  trac-admin <yourprojenv> repository resync <reponame>
    542542}}}
    543543
     
    697697=== 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
    698698
    699 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 `trac-admin help` or TracAdmin#FullCommandReference for more details.
     699The 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 repository resync` command can be used to resync the entire repository or a single revision. See `trac-admin help` or TracAdmin#FullCommandReference for more details.
    700700
    701701One can even create a hook to automatically resync the revision history in Trac with that in the repository following a property edit.
     
    703703In Subversion, make a copy of the post-revprop-change template, define `TRACENV` and `TRACADMIN`, and add the following to the hook script:
    704704{{{
    705 $TRACADMIN $TRACENV resync $REV
     705$TRACADMIN $TRACENV changeset modified <reponame> $REV
    706706}}}
    707707