Modify

Opened 8 years ago

Closed 8 years ago

#4327 closed defect (fixed)

pre-commit hook for svnhooksystem doesn't work; information should be fetched with svn look

Reported by: Jeff Hammel Owned by: Jeff Hammel
Priority: high Component: RepositoryHookSystemPlugin
Severity: critical Keywords:
Cc: ejucovy@… Trac Release: 0.11

Description

the svnhooksystem fetches the desired revision on post-commit from the repository; for pre-commit hooks, this won't work as the desired revision is not available to sync to

svnlook should be used to get the information from the transaction and build a dummy changeset object

Attachments (0)

Change History (4)

comment:1 Changed 8 years ago by Jeff Hammel

the documentation at http://trac-hacks.org/wiki/RepositoryHookSystemPlugin should be fixed following ticket resolution

comment:2 Changed 8 years ago by Jeff Hammel

Status: newassigned

working on this now

comment:3 Changed 8 years ago by Jeff Hammel

(In [5078]) preliminary work that addresses #4327 ; most stuff in place, but needs some debugging

comment:4 Changed 8 years ago by Jeff Hammel

Resolution: fixed
Status: assignedclosed

(In [5079]) use transaction instead of revision for pre-commit; closes #4327

Modify Ticket

Action
as closed The owner will remain Jeff Hammel.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.