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

Repair/Move on filename case change deletes files

From: Jean-Baptiste PEQUET <jbpequet_at_grizzlydev.com>
Date: Fri, 30 Sep 2016 12:49:20 +0000

Hi,
I've encountered a strange behavior when trying to commit a filename change.

I wanted to change the case of a filename and do a repair/move before commiting my changes. But doing so resulted in the disappearance of the file of which the filename was changed. Snif...

OS : Win7 Pro SP1
TSVN version : 1.9.4
Particular TSVN setting : FixCaseRenames:false

(Btw, this setting is a sneaky wtf. When I realized that TSVN was renaming my files without telling me, I was like "Whaaat!?")

Steps to reproduce :

- Let's take a versioned file named MyFile.txt

- Change the filename to lowercase : myfile.txt

- Right click on the working copy, and click "SVN Commit..."

- On the commit dialog, MyFile.txt is missing and myfile.txt is unversioned. Everything's good so far.

- Select both files, right-click -> "Repair/move"

- Witness the disappearance of the file and TSVN throwing an error telling that the file is missing. Of course it is, you just deleted it, silly you!

- (bonus step : bringing up the commit dialog again, you can see both files are flagged for deletion)

Thanks in advance !
Cheers

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-09-30 15:01:17 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.