Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

Last modified 15 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:

Description

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, 20 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, 19 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@…>, 15 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
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.