Opened 13 years ago
Closed 13 years ago
#8910 closed defect (fixed)
Modify post-commit-hook to support multiple repos
Reported by: | gameshints | Owned by: | Russ Tyndall |
---|---|---|---|
Priority: | normal | Component: | TimingAndEstimationPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
The trac-post-commit.py needs to be updated to support multiple repositories for trac .12.
I attached a patch.
I based it off the script they started to write before they switched to trac-admin for post commit hooks: http://trac.edgewall.org/browser/sandbox/multirepos/contrib/trac-post-commit-hook?rev=8074&format=txt
Attachments (0)
Change History (6)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Thanks for the patch.
There is also an open ticket to implement this as part of the plugin.
I will add this soon, Cheers, Russ
comment:3 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 follow-up: 5 Changed 13 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
hi Smith
i gat IndentationError: unindent does not match any outer indentation level
at /trac-post-commit.py#L222
comment:5 Changed 13 years ago by
Replying to oliver nadj:
hi Smith
i gat
IndentationError: unindent does not match any outer indentation level
at /trac-post-commit.py#L222
Line 222 needs to be inline with the line below it. Line 222 has two tabs at the beginning of it. Remove the two tabs and add spaces to bring it inline with the line following it.
comment:6 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Okay, I guess I won't attach it because it thinks it's spam. I uploaded it to my blog:
http://www.teshack.com/images/blog/TimingAndEstimationPlugin.multirepos.patch