[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tortoisesvn-users
Subject:    Re: Undo adds behaviour changed? No longer leaves files as unversioned
From:       Simon Large <simon.tortoisesvn () gmail ! com>
Date:       2012-09-26 12:20:32
Message-ID: CADfBBgNfn+efx6DiBF4n+NfmDoC+BH6qTw=G6iRPnRRvDC1t1A () mail ! gmail ! com
[Download RAW message or body]

On 26 September 2012 12:21, Michael Geisinger
<Sidewinder_GER@hotmail.com> wrote:
> Hi,
> 
> Am 21.09.2012 02:42, schrieb Jonathan Edwards:
> > I got caught out by this. Here's what happened:
> > 
> > 1. In filesystem, rename an SVN-controlled file *and edit it*
> > 2. Open TortoiseSVN 'Commit' dialog
> > 3. Do 'Repair move'
> > 4. Do 'Undo Add'
> > 5. -> Commit dialog shows the new file as unversioned)
> > 6. Press <F5> to refresh Commit dialog, or check the filesystem
> > 7. -> The renamed file has gone and the local edits are lost!
> > 
> > Clearly step 5. above is a TortoiseSVN bug. It shouldn't show the file as \
> > unversioned when it's really been deleted.
> 
> I guess you mean the bug is the deletion, not the file being displayed
> although it has been deleted.
> 
> This sounds very similar to an issue I reported earlier that should have
> been fixed in r23196.
> 
> See <http://code.google.com/p/tortoisesvn/issues/detail?id=398>.
> 
> Are you sure you tried with the latest version?

Normally if you SVN copy a file, edit it and then revert (i.e. Undo
Add) then in the latest version of TSVN the file is sent to the
recycle bin, so the changes are not gone forever. Personally I think
it should be changed to unversioned, but that is not the standard
Subversion behaviour, and we try to be consistent with the command
line client. If you try the same thing with the official command line
client, the file is deleted and doesn't even go to the recycle bin.

r23196 fixed a problem where the recycle bin was not always being
used, and was included in TortoiseSVN 1.7.9.

However, in this particular case I can confirm there are 2 bugs. The
file is marked as unversioned when in fact it has been deleted, and it
is not sent to the recycle bin either, so the changes really are lost.

Tested with 1.7.9

Simon

-- 
> ___
> oo  // \\      "De Chelonian Mobile"
> (_,\/ \_/ \     TortoiseSVN
> \ \_/_\_/>    The coolest Interface to (Sub)Version Control
> /_/   \_\     http://tortoisesvn.net

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

To unsubscribe from this discussion, e-mail: \
[users-unsubscribe@tortoisesvn.tigris.org].


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic