Repository not recoverable after a "Working file" and its "pristine file" deleted by Antivirus.

21 views
Skip to first unread message

Prasad Narasimha

unread,
Jun 14, 2021, 11:58:26 AM6/14/21
to TortoiseSVN
Hello,
I have a situation that one of the tool .exe file is deleted by antivirus automatically. Somehow, antivirus also detects the pristine file of the above file and deletes it as well.

Worst is that:
1) SVN Update says that it cannot update the above file, and therefore it aborts, saying cleanup must be done.
2) SVN Cleanup says it cannot clean up the above file because its pristine file is not any more available.

Now I cannot update the repository any more even if I want to unselect this failing file and continue using my repository.
I request for a feature / alternatives to resolve this issue.

Phil Seakins

unread,
Jun 14, 2021, 10:48:54 PM6/14/21
to TortoiseSVN
The antivirus software may have "quarantined" the file by moving it to special folder.  If so you can send the file to the AV vendor for exclusion. Also, your AV software may well have a method of flagging the file as safe.

Daniel Sahlberg

unread,
Jun 22, 2021, 7:41:54 AM6/22/21
to TortoiseSVN
The pristine files are stored in the (hidden) .svn folder. You should restore it from your AV program. If you are not able to do this you can probably rename the .svn folder (to .svnold) and then check out the repository again to the same folder as before (it will recreate the .svn folder and checkout a new copy of the .exe). Obviously you need to whitelist the .exe in the AV program. When you do the checkout, it should not overwrite anything (keeping any local modifications) but a backup is always wise.
Reply all
Reply to author
Forward
0 new messages