Edgewall Software
Modify

Opened 21 years ago

Closed 20 years ago

#347 closed defect (fixed)

Need way re-synch trac.db & svn repository

Reported by: jamesm@… Owned by: Jonas Borgström
Priority: high Milestone: 0.8
Component: admin/console Version: 0.6.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal 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 (0)

Change History (3)

comment:1 by Jonas Borgström, 21 years ago

Milestone: 0.70.8

Yeah, trac-admin should probably have a "resync" command.

Until then you can open the database with sqlite like this:

 $ sqlite /path/to/trac.db

And remove the cached values:

DELETE FROM revision;
DELETE FROM node_change;

Trac will resync the repository the next time trac.cgi is executed.

comment:2 by Jonas Borgström, 20 years ago

Owner: changed from daniel to Jonas Borgström
Status: newassigned

comment:3 by Jonas Borgström, 20 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [791]. trac-admin how has a "resync" command for just this.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.