Hi there,

I set up the latest trac (1.0.x)  and I am using it with a synced 
repository because the subversion repo cannot be moved to the server that 
runs trac (and the same the other way round).

I installed a post-commit hook for the synced repo and when I'm calling 
svnsync the post-commit hook is executed.

The problem: Subversion first syncs the revision, then calls the hook and 
after this the properties for the revision are set.
All commits are shown as if they were made by the linux-username that runs 
the svnsync (in my case: svn)

My idea was to move the trac-admin call to the post-revprop-change hook. 
Inserting the line that worked fine as post commit hook:

> trac-admin /PATH/TO/ENV changeset added "NAMEOFREPO" $2
>

throws this error: 

> TypeError: %d format: a number is required, not unicode
>

Seems as if the revision number is not the parameter "$2"?

The error is thrown by trac - does anyone here has a hint or an idea for me 
what I can do to have the correct svn usernames from the synced repository 
inside the trac web interface?

Thanks a lot!
Flo

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-users/-/bTl6KeBJpZwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to