FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 11-13-2009, 07:52 AM
Peter Jordan
Default trac-post-commit-hook does not work

Peter Jordan, Fri Nov 13 2009 08:38:54 GMT+0100 (CET):


I use trac/svn on debian lenny. I've installed the trac-post-commit-hook
script from the src package to /usr/local/bin/trac-post-commit-hook, but
it does not work.

Assume rev2 has the following commit message:

Uploaded interfaces (closes: #1).

When I run

/usr/bin/python /usr/local/bin/trac-post-commit-hook -p
/srv/trac/project1 -r 2

as root (so there is no permission issue) neither an error is given nor
the ticket #1 will be closed.

Can someone help me?

Ok, the solution is simple:

The format of the commit message has to be "closes #1" not "closes: #1".


To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Thread Tools

All times are GMT. The time now is 01:19 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org