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

Re: [tortoisesvn] r24717 committed - Restore all files after a commit, failed or successful....

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 30 Aug 2013 22:06:43 +0200

On 30.08.2013 21:34, Simon Large wrote:
> On 30 August 2013 19:30, <tortoisesvn_at_googlecode.com
> <mailto:tortoisesvn_at_googlecode.com>> wrote:
>
> Revision: 24717
> Author: tortoisesvn
> Date: Fri Aug 30 18:29:58 2013 UTC
> Log: Restore all files after a commit, failed or successful.
> Update issue #546
> http://code.google.com/p/tortoisesvn/source/detail?r=24717
>
> Modified:
> /trunk/src/TortoiseProc/Commands/CommitCommand.cpp
>
>
> Is that right? If the commit fails because you need to update then the
> file you were about to commit gets discarded and overwritten with its
> previous content. I think you would need to ask in this case, otherwise
> you risk losing working copy data.

If the commit fails and the commit dialog is reopened (that also happens
if you click on "update" in the nice dialog that offers to do the update
for you), then of course they're not restored. Restoring happens only
right before TortoiseProc exits - and in that case restoring is required
because the restore data isn't stored over sessions.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3063657
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-08-30 22:06:56 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.