[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

From: Baruch Burstein <bmburstein_at_gmail.com>
Date: Wed, 29 Jan 2014 14:57:44 +0200

I found a bug in the restore after commit feature.
Consider the following scenario:

I have a file 'foo.c' that I want to commit only part of.
I mark it for restoration after commit, which saves a copy of it aside, and
then edit it
I try to commit, but get an error that some of the files in my commit are
outdated, including 'foo.c', and a dialog to select update working copy or
cancel (I don't remember the exact messages)
I click 'Update', and tortoisesvn updates my working copy, including
`foo.c`, merging it *with my temporary version*
I get the commit dialog back, and perform the commit
HERE IS THE PROBLEM: After the commit, 'foo.c' is restored from it's copy
that was put aside, which is it's old version before the update. I am now
left with an updated working copy, but an old 'foo.c'

Thanks,
Baruch

-- 
˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3072252
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-01-29 13:59:31 CET

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.