##// 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_copy_file_with_spaces.diff
2 lines | 156 B | text/x-diff | DiffLexer
/ rhodecode / tests / fixtures / hg_diff_copy_file_with_spaces.diff
diff --git a/file_changed_without_spaces.txt b/file_copied_ with spaces.txt
copy from file_changed_without_spaces.txt
copy to file_copied_ with spaces.txt