Opened 2 years ago
Closed 20 months ago
#8910 closed defect (fixed)
Modify post-commit-hook to support multiple repos
| Reported by: | gameshints | Owned by: | bobbysmith007 |
|---|---|---|---|
| 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 2 years ago by gameshints
comment:2 Changed 2 years ago by bobbysmith007
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 2 years ago by bobbysmith007
- Resolution set to fixed
- Status changed from new to closed
comment:4 follow-up: ↓ 5 Changed 22 months ago by oliver nadj
- Resolution fixed deleted
- Status changed from closed to reopened
hi Smith
i gat IndentationError: unindent does not match any outer indentation level at /trac-post-commit.py#L222
comment:5 in reply to: ↑ 4 Changed 22 months ago by anonymous
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 20 months ago by bobbysmith007
- Resolution set to fixed
- Status changed from reopened to 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