Updating the Status of a Trac ticket via a SVN commit
One of the really nice things about the SVN/Trac combo is that when you commit changes to SVN, you can have the changeset update the status of a Trac ticket.
I am trying to integrate subversion and trac. I am using the post
commit hook script found at
http://trac.edgewall.org/browser/branches/0.10-stable/contrib/trac-post-commit-hook
to be able to modify tickets and in my post-commit.tmpl in my svn i
have
REPOS="$1"
REV="$2"
LOG=C:\Program Files\Subversion\bin\svnlook log -r $REV $REPOS
TRAC_ENV='c:\projects\trac'
TRAC_URL='http://localhost:8000/myproject2'
C:\Python24\python.exe C:\projects\svn\hooks\trac-post-commit-hook.py -p "$TRAC_ENV"
-r "$REV" -m "$LOG" -s "$TRAC_URL"
I am new to all of this. any help would be appreciated.
Change History (4)
Component: |
TracHacks →
CacheSystemPlugin
|
Owner: |
changed from Alec Thomas to Noah Kantrowitz
|
Priority: |
normal →
highest
|
Severity: |
normal →
critical
|
Type: |
defect →
task
|
Component: |
CacheSystemPlugin →
SvnChangeListenerPlugin
|
Owner: |
changed from Noah Kantrowitz to Jeff Hammel
|
Priority: |
highest →
normal
|
Severity: |
critical →
normal
|
Resolution: |
→ invalid
|
Status: |
new →
closed
|
i'm not sure what the issue is here; does the post-commit script not work for you? in either case, it is NOT an issue for SvnChangeListenerPlugin, which does the identical task but in a different way; i think this ticket is invalid but will await more information