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

Bug with restore after commit feature if cancelling commit

From: Adam Conway <Adam.Conway_at_carus.com>
Date: Thu, 27 Jun 2013 13:25:55 +0000

Hi,

If you start the process of committing part of a file then change your mind about committing and cancel the commit then the pre-commit-attempt file is NOT restored. While technically one could argue (if one were a lawyer) that the option is "restore after commit" and I haven't made a commit so it shouldn't be restored, the use case is that the working copy file will be restored and I think this should be invoked even if I cancel the commit.

To reproduce

1. Make some changes to a file in a working copy

2. Open commit dialog

3. Right-click file and choose restore after commit

4. Double click file to view changes

5. Choose copy from left block for some of the changes (i.e. revert parts of the file)

6. Save and exit to return to commit dialog

7. Click cancel in commit dialog

I think the "original" working copy file should be restored in the same fashion as if I had committed the partially-reverted file, but it isn't - the partially reverted file is now the working copy version.

Using tortoise SVN 1.8.0 on windows 7. I had called tortoise via Visual SVN plugin to visual studio, but that shouldn't make a difference I wouldn't have thought - it is still an ordinary tortoise commit dialog that is invoked.

Adam

Adam Conway | Systems Developer | P. +358 (0)20 7107 800

Carus PBS Ab Ltd - P.O. Box 195 / Östra Esplanadgatan 7 - FIN-22101 Marieham, Finland
Business ID 0682598-6 - Registered Home City: Mariehamn

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-06-27 15:29:07 CEST

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

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