##// END OF EJS Templates
pull-requests: optimize db transaction logic....
pull-requests: optimize db transaction logic. - we've been investigating this issue with locked pull-requests - the transactions arround audit-logs and state-lock seems to be fragile for long-running, and exception prone setups - this change tries to make use of few snapshot transactions to prevent a long ones, and actually try to recover on failed audit-log calls.

File last commit:

r3826:ab69d1e3 stable
r4712:412d5d47 stable
Show More
git_diff_js_chars.diff
7 lines | 398 B | text/x-diff | DiffLexer
/ rhodecode / tests / fixtures / git_diff_js_chars.diff
dan
diffs: handle paths with quotes in diffs.
r3826 diff --git "a/\"><img src=x onerror=prompt(0)>/\"><img src=x onerror=prompt(1)>.txt" "b/\"><img src=x onerror=prompt(0)>/\"><img src=x onerror=prompt(1)>.txt"
index e69de29..8eb97de 100644
--- "a/\"><img src=x onerror=prompt(0)>/\"><img src=x onerror=prompt(1)>.txt"
+++ "b/\"><img src=x onerror=prompt(0)>/\"><img src=x onerror=prompt(1)>.txt"
@@ -0,0 +1 @@
+Ehlo eglo
\ No newline at end of file