Edgewall Software
Modify

Ticket #643 (closed defect: fixed)

Opened 8 years ago

Last modified 2 years ago

reflecting svn:log property changes in trac database

Reported by: dju` Owned by: jonas
Priority: normal Milestone:
Component: general Version: 0.7.1
Severity: normal Keywords:
Cc:
Release Notes:
API 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

Change History

comment:1 Changed 8 years ago by jonas

  • Resolution set to fixed
  • Status changed from new to closed

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 Changed 7 years ago by cboos

See also #781.

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

comment:3 Changed 2 years ago by Ryan Ollos <ryano@…>

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

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.