##// 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:

r1:854a839a default
r4712:412d5d47 stable
Show More
hg_diff_four_file_change_newline.diff
24 lines | 419 B | text/x-diff | DiffLexer
/ rhodecode / tests / fixtures / hg_diff_four_file_change_newline.diff
diff --git a/file b/file
new file mode 100644
--- /dev/null
+++ b/file
@@ -0,0 +1,1 @@
+file
diff --git a/file2 b/file2
new file mode 100644
--- /dev/null
+++ b/file2
@@ -0,0 +1,1 @@
+another line
diff --git a/file3 b/file3
new file mode 100644
--- /dev/null
+++ b/file3
@@ -0,0 +1,1 @@
+newline
diff --git a/file4 b/file4
new file mode 100644
--- /dev/null
+++ b/file4
@@ -0,0 +1,1 @@
+fil4
\ No newline at end of file