[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Antw: Re: undo add deletes local file causing data loss

From: Gunter Koenigsmann <Gunter.Koenigsmann_at_semikron.com>
Date: Thu, 10 Jul 2014 17:40:06 +0200

+1 for naming the undo add button in a way that reflects the potential
data loss:

The user might not be happy when a file he has worked on for days
suddenly disappears (as happened a collegue of mine today).

>As long as you have the recycle bin enabled then the modified file
>goes there, just as it does for any other revert operation.
That might be true. But the user might not know that. The recycle bin
might not work on all types of media subversion will -
and even worse: there is always the possibility the file might just not
appear there even if there don't seem to be any reasons for this to
happen. In the case of my collegue
 - the file was on the local hard drive,
 - the recycle bin did contain several files that had recently been
deleted from the windows explorer
 - and the "Use recycle bin when reverting" was checked in his settings
dialogue.

The problem might not even be completely tsvn's fault:
 - Working in a corporate environment we have a virus scanner that
checks every file every time it is changed. But I assume using a virus
scanner and setting it up in a way that it reads files on
creation/modification to be a fairly typical use case. TSVN actually
contains code to retry some file moves after a short wait in this case.
 - And windows doesn't seem to allow programs to move files while they
are still being read by a different process.
Don't know if that could be the case. If not I at least can include a
description how the problem was triggered:
1.) My collegue wrote a long report
2.) When he tried to commit it there was a tree conflict (the directory
had been renamed by somebody else)
3.) To clean up he did try to undo the add before moving it away and
adding it to the renamed directory trusting svn from long experience
that this program is designed in a way that it cannot possibly loose
data.
4.) The file disappeared, but didn't appear in the recycle bin.

The windows system was a 64-bit Windows 7 with TSVN 1.8.5

Kind regards,

  Gunter.

Gunter Königsmann
R&D

Tel: +49 911-6559-6025
Fax: +49 911-6559-776747

www.semikron.com
gunter.koenigsmann_at_semikron.com

SEMIKRON Elektronik GmbH & Co. KG
Sigmundstrasse 200, 90431 Nürnberg, Germany
Amtsgericht Nürnberg HRA 13650
Komplementär:
SEMIKRON Elektronik Verwaltungs GmbH
Amtsgericht Nürnberg HRB 21338
Geschäftsführer:
Harald Jäger
Peter Sontheimer

IMPORTANT NOTICE - The contents of this email and attachments are
confidential. If you are not the intended recipient you must not use,
copy, distribute or rely on this email and should please return it
immediately or notify us by telephone. While we take every reasonable
precaution to screen out computer viruses from emails, attachments to
this email may contain such viruses. We cannot accept liability for loss
or damage resulting from such viruses. The integrity of email across
the Internet cannot be guaranteed and SEMIKRON will not accept liability
for any claims arising as a result of the use of this medium for
transmissions by or to SEMIKRON.

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
______________________________________________________________________

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3084891

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-07-10 19:08:38 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.