From 6364b9dd4470022ef7f7f9b871849d5bbd7d72b1 Mon Sep 17 00:00:00 2001 From: Stephen Haberman Date: Thu, 16 Oct 2008 22:50:20 -0500 Subject: [PATCH] Delay to avoid ticket changes failing. --- server/post-receive-trac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/post-receive-trac b/server/post-receive-trac index 8a5ec96..1546197 100644 --- 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 -- 2.39.5