##// END OF EJS Templates
strip: use the 'finally: tr.release' pattern during stripping...
strip: use the 'finally: tr.release' pattern during stripping The previous code, was calling 'abort' in all exception cases. This was wrong when an exception was raised by post-close callback on the transaction. Calling 'abort' on an already closed transaction resulted in a error, shadowing the original error. We now use the same pattern as everywhere else. 'tr.release()' will abort the transaction if we escape the scope without closing it. We add a test to make sure we do not regress.

File last commit:

r18045:add2f9dd default
r26012:d815a599 stable
Show More
branches.tmpl
6 lines | 158 B | application/x-cheetah | CheetahLexer
{header}
<title>{repo|escape}: branches</title>
<description>{repo|escape} branch history</description>
{entries%branchentry}
</channel>
</rss>