Show More
@@ -919,6 +919,11 b' class RepoModel(BaseModel):' | |||||
919 | if os.path.isdir(rm_path): |
|
919 | if os.path.isdir(rm_path): | |
920 | shutil.move(rm_path, os.path.join(self.repos_path, _d)) |
|
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 | class ReadmeFinder: |
|
928 | class ReadmeFinder: | |
924 | """ |
|
929 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now