Modify ↓
Ticket #347 (closed defect: fixed)
Opened 8 years ago
Last modified 8 years ago
Need way re-synch trac.db & svn repository
| Reported by: | jamesm@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | high | Milestone: | 0.8 |
| Component: | admin/console | Version: | 0.6.1 |
| Severity: | normal | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
I've had to change some log messages after commit using svn revprop and svnadmin setlog. These changes are not reflected in the trac.db. I haven't been able to find a trac-admin command that re-synchs the trac.db to the svn repository other than init - and obviously I don't want to run that. There should be a way to re-sync the trac.db to the svn repository for these kinds of changes.
Attachments
Change History
comment:1 Changed 8 years ago by jonas
- Milestone changed from 0.7 to 0.8
comment:2 Changed 8 years ago by jonas
- Owner changed from daniel to jonas
- Status changed from new to assigned
comment:3 Changed 8 years ago by jonas
- Resolution set to fixed
- Status changed from assigned to closed
Fixed in [791]. trac-admin how has a "resync" command for just this.
Note: See
TracTickets for help on using
tickets.



Yeah, trac-admin should probably have a "resync" command.
Until then you can open the database with sqlite like this:
And remove the cached values:
Trac will resync the repository the next time trac.cgi is executed.