git.droids-corp.org
/
git-central.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
098651f
)
Delay to avoid ticket changes failing.
author
Stephen Haberman
<stephen@exigencecorp.com>
Fri, 17 Oct 2008 03:50:20 +0000
(22:50 -0500)
committer
Stephen Haberman
<stephen@exigencecorp.com>
Fri, 17 Oct 2008 03:50:20 +0000
(22:50 -0500)
server/post-receive-trac
patch
|
blob
|
history
diff --git
a/server/post-receive-trac
b/server/post-receive-trac
index
8a5ec96
..
1546197
100644
(file)
--- a/
server/post-receive-trac
+++ b/
server/post-receive-trac
@@
-25,6
+25,9
@@
while read oldrev newrev refname ; do
author="$(git rev-list -n 1 $commit --pretty=format:'%cn <%ce>' | grep -v $commit)"
message="$(git rev-list -n 1 $commit --pretty=format:'%s%n%b' | grep -v $commit)"
"$PYTHON" "$POST_RECEIVE_TRAC" "$TRAC_ENV" "$short_refname" "$describe" "$describe_tags" "$commit" "$author" "$message"
+ # Trac will crap out if we submit ticket refs too quickly
+ # http://trac.edgewall.org/ticket/6466
+ sleep 1
done
done