I would assume that if the AV software deletes the file locally, you can
naturally not commit it. It will look like you just deleted the file
normally.
If, on the other hand, the AV software blocks access to it, but leaves it in
place, I would assume SVN will behave just as if you opened the file in a
program that locked the file with exclusive access.
As for the AV on server case, other reports on this mailing list suggests
that if AV detects an infected file in your repository, and deletes it, you
have lost a revision most likely, with all the problems that follows.
On Jan 29, 2008 2:01 AM, Lee Gillam <lee.gillam_at_appsdev.uxc.com.au> wrote:
> Hi,
>
> We are using TortoiseSVN V1.4.4, and we are not having any issues. So
> this question is a "what if" question concerning how anti-virus software
> works with SVN.
>
> Q - What will happen to the integrity of the SVN repository if the
> following happens, and we need to revert to a previous version of a
> file:
>
> Scenario 1 - A desktop machine has an infected file, the anti-virus
> software deletes or quarantines the file, and the folder is "committed"
> to SVN?
>
> Scenario 2 - the server which holds the SVN repository, has an infected
> file, the anti-virus software deletes or quarantines the file, and a
> desktop user trys to recover the file to their desktop?
>
> Q - So, is our virus software (AVG in this case), a potential
> hazard/risk to the operation of SVN and the integrity of our data? Is
> there something we can do within our software, or is their an alternate
> Anti-virus software that you recommend?
>
> Thanks
>
> Lee
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
> For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
>
>
--
Lasse Vågsæther Karlsen
mailto:lasse_at_vkarlsen.no
http://presentationmode.blogspot.com/
PGP KeyID: 0xBCDEA2E3
Received on 2008-01-29 09:18:47 CET