Edgewall Software
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

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 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.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.