You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Trac Users
Hi, is there any result code or documentation of trac-admin? It seems that it does not send result codes.
I have a cronjob doing the "changeset added" every 5 minutes after synchronizing git. If Trac returns errors in this while I need to buffer the changesets in order to retry later. But I can't see a way to check if "trac-admin changeset added" was successful.
Best regards, Mo
Peter Suter
unread,
Jan 17, 2017, 2:02:06 PM1/17/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
But "trac-admin env changeset added WRONG WRONG" prints "Repository
'WRONG' not found", while also setting the error level to 0.
Indeed there's no attempt to return anything indicating the printed
error here:
https://trac.edgewall.org/browser/trunk/trac/versioncontrol/admin.py?rev=15259&marks=96,97#L91 Also the errors are printed to stdout, not sterr.
Sounds like a bug (or missing feature) to me.