Edgewall Software

Ticket #4797 (closed enhancement: fixed)

Opened 23 months ago

Last modified 22 months ago

resync should be able to resync a single changeset

Reported by: anonymous Owned by: cboos
Priority: normal Milestone: 0.10.4
Component: version control Version:
Severity: normal Keywords: resync
Cc:

Description

Trac takes a long time to resync to our SVN repository. It would be nice if we could just resync the relevant revision, after a propchange for example. We could then call trac-admin resync revisionNumber (or something like that) automatically whenever a property was changed. Would this be a possible enhancement?

Attachments

Change History

Changed 23 months ago by Sergei Haller <sergei@…>

you don't need to resync after each change in the svn repository. trac will do that automatically. "trac-admin resync" is there for a _complete_ resync. (e.g. if you move the repository to another path, you change the path in trac.ini and do a resync)

Changed 23 months ago by cboos

  • keywords resync added
  • owner changed from jonas to cboos
  • component changed from general to version control
  • milestone set to 0.11

The request is about the possibility to resync "after a (revision) property was changed". A common use case for this is to resync the Trac cache after editing a commit log message (the svn:log property), usually done using svnadmin setlog, as we still don't have #781 implemented...

There's already a similar ticket for resyncing a range of changesets (#1271), but the original patch for that was somewhat too complex to be implemented in due time, so I think this simpler request (trac-admin $TRAC_ENV resync <number>) is worthwhile and can be implemented for 0.11.

Changed 23 months ago by anonymous

You are all too cool! Thanks for following up on this :)

Changed 22 months ago by cboos

  • milestone changed from 0.11 to 0.10.4

Fixed in r5140 (trunk) and r5141 (0.10-stable).

I ported it to stable as the full resync is now even more costly in 0.10.4, due to the commit after each sync done for robustness reasons.

Changed 22 months ago by cboos

  • status changed from new to closed
  • resolution set to fixed

(forgot to close it, see above)

Add/Change #4797 (resync should be able to resync a single changeset)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cboos. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.