##// 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
git_diff_rename_file_with_spaces.diff
3 lines | 156 B | text/x-diff | DiffLexer
/ rhodecode / tests / fixtures / git_diff_rename_file_with_spaces.diff
diff --git a/file_with_ spaces.txt b/file_with_ two spaces.txt
similarity index 100%
rename from file_with_ spaces.txt
rename to file_with_ two spaces.txt