Edgewall Software

Opened 18 years ago

Closed 18 years ago

Last modified 13 years ago

#643 closed defect (fixed)

reflecting svn:log property changes in trac database

Reported by: dju` Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.7.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


if i change the log property of revision X by doing:

svn propedit svn:log --revprop -r X

(because of a typo in the commit message for example), changes are obviously not reflected into trac database, ie. into the "revision" table of the sqlite db. would it be possible to find a way to synchronize the revision table with the svn log messages?

Attachments (0)

Change History (3)

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

Resolution: fixed
Status: newclosed

trac-admin in trunk has a resync command to do just this.

trac-admin /path/to/projenv resync

Trac 0.7.1 need to run the sql command manually using "sqlite":

DELETE FROM revision;
DELETE FROM node_change;

comment:2 by Christian Boos, 17 years ago

See also #781.

In particular, care should be taken while implementing #781 that we actually edit the latest svn:log revprop.

comment:3 by Ryan Ollos <ryano@…>, 13 years ago

FAQ has been added to address this question: TracFaq#how-to-update-tracrevlog-after-revprop-edit. See also #4797.

Modify Ticket

Change Properties
Set your email in Preferences
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.