Modify

Opened 6 years ago

Closed 6 years ago

#4327 closed defect (fixed)

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

Reported by: k0s Owned by: k0s
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 6 years ago by k0s

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

comment:2 Changed 6 years ago by k0s

  • Status changed from new to assigned

working on this now

comment:3 Changed 6 years ago by k0s

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

comment:4 Changed 6 years ago by k0s

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

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.