From: Stephen Haberman Date: Fri, 17 Oct 2008 03:50:20 +0000 (-0500) Subject: Delay to avoid ticket changes failing. X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6364b9dd4470022ef7f7f9b871849d5bbd7d72b1;p=git-central.git Delay to avoid ticket changes failing. --- 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