Modify

Opened 13 years ago

Closed 12 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 gameshints

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

comment:2 Changed 13 years ago by Russ Tyndall

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 Russ Tyndall

Resolution: fixed
Status: newclosed

(In [10336]) patched to support multiple repos - close #8910

comment:4 Changed 13 years ago by oliver nadj

Resolution: fixed
Status: closedreopened

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 13 years 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 12 years ago by Russ Tyndall

Resolution: fixed
Status: reopenedclosed

(In [10840]) Sorry for the delay, untabified those files, should fix #8910

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Russ Tyndall.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.