##// END OF EJS Templates
shadow-repos: use safer way to destroy shadow repositories....
shadow-repos: use safer way to destroy shadow repositories. we had reported errors on removal of shadow repos. Not reproduced, however suspecting are filesystem sync/symlink race-conditions on shared storage. End result were existing shadow-repo directories that tricked rhodecode into thinking shadow repos is existing, but infact it was a dummy structure semi-removed. Using shutil.move we ENSURE rhodecode doesn't read those back even if removal fails.

File last commit:

r1:854a839a default
r2777:f1cc2e3d default
Show More
hg_diff_copy_chmod_and_edit_file.diff
13 lines | 164 B | text/x-diff | DiffLexer
/ rhodecode / tests / fixtures / hg_diff_copy_chmod_and_edit_file.diff
diff --git a/file4 b/file5
old mode 100755
new mode 100644
copy from file4
copy to file5
--- a/file4
+++ b/file5
@@ -1,3 +1,4 @@
-line1
line2
line3
+line4
+line5