##// END OF EJS Templates
diff-cache: remove diff cache dir on repository removal.
marcink -
r2689:33739db8 default
parent child Browse files
Show More
@@ -919,6 +919,11 b' class RepoModel(BaseModel):'
919 919 if os.path.isdir(rm_path):
920 920 shutil.move(rm_path, os.path.join(self.repos_path, _d))
921 921
922 # finally cleanup diff-cache if it exists
923 cached_diffs_dir = repo.cached_diffs_dir
924 if os.path.isdir(cached_diffs_dir):
925 shutil.rmtree(cached_diffs_dir)
926
922 927
923 928 class ReadmeFinder:
924 929 """
General Comments 0
You need to be logged in to leave comments. Login now