##// END OF EJS Templates
diffs: fixed outdated files in pull-requests re-using the filediff raw_id for anchor generation....
diffs: fixed outdated files in pull-requests re-using the filediff raw_id for anchor generation. In some cases when there are no longer any files this caused error since filediff wasn't present. In addition this generated wrong ids since it used a last-defined attribute on a for loop. Fixes #5567

File last commit:

r1:854a839a default
r3830:5bbd362b stable
Show More
hg_diff_double_file_change_double_newline.diff
15 lines | 393 B | text/x-diff | DiffLexer
/ rhodecode / tests / fixtures / hg_diff_double_file_change_double_newline.diff
diff --git a/file_b b/file_b
new file mode 100644
index 0000000000000000000000000000000000000000..53d48dc7fa22fc057c0f3bec5bd0c830782ea804
--- /dev/null
+++ b/file_b
@@ -0,0 +1 @@
+test_content b
diff --git a/file_c b/file_c
new file mode 100644
index 0000000000000000000000000000000000000000..df7d123ff1d3b70fc2124597ffffeff48aa5b4d2
--- /dev/null
+++ b/file_c
@@ -0,0 +1 @@
+test_content c