Edgewall Software

Opened 17 years ago

Closed 17 years ago

Last modified 6 years ago

#632 closed defect (invalid)

connect svn commit with tickets in order to close them

Reported by: ozy@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: ticket system Version: 0.7.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


take a look at these messages:

01:46:13 : Ticket #587 resolved by daniel
  fixed - Fixed in [826].

01:45:36 : Changeset [826] by daniel
  Never allow docutils to sys.exit due to ReST syntax errors, but handle all errors gracefully. Show   REST errors styled like other error messages. Closes #587.

and that happens all the time. You commit a changeset with 'svn commit -m "bla bla, Closes Ticket #587"' Then you look at timeline, click the Wiki link to #587 and manually close it.

Perhaps using a fixed syntax for commit messages could also close the ticket or change to any status for that matter. So changing a ticked to Fixed could be like:

svn commit -m "Blah Blah, Ticket #587 status: Fixed"

in a message. And the ticket closes automatically …

Attachments (0)

Change History (1)

comment:1 by Jonas Borgström, 17 years ago

Resolution: invalid
Status: newclosed

It's already possible to do this using source:/trunk/contrib/trac-post-commit-hook#latest. It's just not enabled on projects.edgewall.com.

The script itself contain some installation instructions.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.