[REPRO] svn:global-ignores breaks Tortoise Client behaviour when adding files

17 views
Skip to first unread message

endst...@googlemail.com

unread,
Jun 14, 2018, 10:40:58 AM6/14/18
to TortoiseSVN
Hello,

I've searched through the database and there are some tickets possibly pointing to that issue but here is a trivial repro case for it.
The following behaviour can be reproduced ONLY on the Tortoise Client, svn works correctly.
Tested on windows. Client Version from 1.9.5 to current 1.10.0 shows the behaviour.

- Create an empty repository (I created one on the same machine using Tortoise, no svn server involved)

- Add a svn:global-ignores of "*.tex" to the root directory, no need to committing it or applying it recursively.
- Create a subdirectory called "Foo". In Foo create three empty files "A.tex", "Y.tex" and "Z.tex".
- Then create an empty directory called "Y".
The directory structure should look like that:

Foo
¦ A.tex
¦ Y.tex
¦ Z.tex
+---Y

- Now right click onto Foo and click onto "Add". The "Add files" dialog should list the following files:
Foo/
Foo/Y/
Y.tex
Z.tex

You will notice that A.tex has actually been ignored.
Now keep the dialog open and rename the directory "Y" to "Yu".

In the "Add files" dialog hit refresh, you will now notice that Y.tex is now also missing and thereby ignored.
Foo/
Foo/Yu/
Z.tex

If you remove the "Yu" directoy altogether, all .tex files are ignored, which is the correct behaviour.
So having directories with varying letters will produce different behaviour of when the ignoring actually is cut off.

I also have a minimal repository test case zip but I cannot upload things here.

Regards,
Sam

Stefan

unread,
Jun 15, 2018, 1:22:41 PM6/15/18
to TortoiseSVN
Thanks for the detailed report!

Fixed in r28252

Stefan
Reply all
Reply to author
Forward
0 new messages