Bug in TortoiseSVN 1.10.1, Build 28295

48 views
Skip to first unread message

Ralf Krapf

unread,
Sep 21, 2018, 3:46:47 AM9/21/18
to TortoiseSVN
Hi
There is a nasty bug in TortoiseSVN 1.10.1, Build 28295 under Win10 1803 64bit.
Steps to reproduce
1. Make a new file test/text.txt in a repo
2. Commit this file (via commit on /test/)
3. Rename the file to Text.txt (NOT with right click -> TortoiseSVN -> Rename, but with right click -> rename)
4. Commit this change. Expacted behavior: under "changes made" should be "text.txt - missing" and "Text.txt non-versioned", but it comes "No files were changed..."
5. So Press Cancel
6. The file Text.txt is AUTOMATICALLY renamed to text.txt!

The same bug appears, when i change some character in the filename to uppercase (not necessarily the first one).

I hope the description is clear. If not, please let me now!

Thanks a lot for this cool tool.
Cheers
Ralf

Stefan

unread,
Sep 21, 2018, 9:50:01 AM9/21/18
to TortoiseSVN


On Friday, September 21, 2018 at 9:46:47 AM UTC+2, Ralf Krapf wrote:
Hi
There is a nasty bug in TortoiseSVN 1.10.1, Build 28295 under Win10 1803 64bit.
Steps to reproduce
1. Make a new file test/text.txt in a repo
2. Commit this file (via commit on /test/)
3. Rename the file to Text.txt (NOT with right click -> TortoiseSVN -> Rename, but with right click -> rename)
4. Commit this change. Expacted behavior: under "changes made" should be "text.txt - missing" and "Text.txt non-versioned", but it comes "No files were changed..."

And if it would show "missing/non-versioned": what would you do then?
If you commit the "non-versioned" file, you will end up with two files with the same name that only differs in case. And the next user who does a checkout/update will have their working copy corrupted because Windows can not have two such files.
That's why TSVN automatically "corrects" such renames.

If you don't want TSVN to automatically save you from big mistakes, go to the settings dialog->Advanced, then set the "FixCaseRenames" to "false".

But you've been warned: this will lead to corrupted working copies if you're not very, very, very careful.

Stefan

Ralf Krapf

unread,
Sep 24, 2018, 5:54:17 AM9/24/18
to TortoiseSVN
Hi Stefan

Thank you for the explanation. It was not clear for me that windows is so "special" in the behavior of uppercase/lowercae - files.
What for me as user would be helpful, is a popup, that TSVN does change something on my filenames. For example "I renamed this filename to xxx becaus of xxx. Be carfull stupid!"
For example as an Option "WarningFixCaseRenames" or something.

Thanks
Ralf
Reply all
Reply to author
Forward
0 new messages