Opened 17 years ago
Closed 15 years ago
#6016 closed defect (fixed)
trac-admin resync doesn't update revision message after editing a svn revision log
Reported by: | anonymous | Owned by: | Christian Boos |
---|---|---|---|
Priority: | normal | Milestone: | 0.12-multirepos |
Component: | version control | Version: | 0.10.4 |
Severity: | minor | Keywords: | resync documentation multirepos |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
After a change on a revision log message using svn propedit or svn propset, trac-admin resync doesn't update the revision log message in trac database, even although it retourns a 'resynced <rev number>' message. Actually, it doesn't even do any access to revision table on trac database. Tested with both interactive and not interactive modes, using resync and resync <rev number> with Trac 0.10.4 and PostgreSQL 8.1.9
Attachments (1)
Change History (9)
comment:1 by , 17 years ago
Component: | trac-admin → version control |
---|---|
Keywords: | resync added |
Milestone: | → 0.12 |
Owner: | changed from | to
Priority: | high → normal |
Severity: | major → minor |
by , 17 years ago
Attachment: | post-revprop-change added |
---|
Example post-revprop-change hook that allows for editing the message and the author and syncs the change back in trac. Should work with any Trac versions > 0.10.4.
follow-up: 7 comment:4 by , 16 years ago
Status: | new → assigned |
---|
The new trac-svn-hook script in MultiRepos (to be called from the $REPOS/hooks/post-revprop-change script) handles this adequately.
comment:5 by , 15 years ago
Keywords: | multirepos added |
---|
comment:6 by , 15 years ago
Milestone: | 0.12 → 0.12-multirepos |
---|
comment:7 by , 15 years ago
Replying to cboos:
The new trac-svn-hook script in MultiRepos (to be called from the $REPOS/hooks/post-revprop-change script) handles this adequately.
I'm going through the remaining multirepos tickets. Can this be closed, then?
comment:8 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Yes, and I'll start the 0.12/TracRepositoryAdmin page one of these days :-)
Sorry for the late answer.
trac-admin <env> resync <revnum>
definitely works with 0.11dev. I pretty sure it should work the same in 0.10.4.This is most probably a misconfiguration of your post-revprop-change hook.
I realize that there's no example in the contrib folder, so I'll attach mine here. Hopefully from that you can figure out what went wrong in your case.
I'll probably add that to the contrib (or svn-contrib) folder for 0.12.