As I understand it, the command to ignore the content of a directory using SVN is this:
svn propset svn:ignore "*" tmp/
This should set the ignore property on the content of the tmp
directory, right? In other words, the wildcard is set to be the ignore value on the tmp directory. Trouble is, here's what is happening on my Windows box:
> svn propset svn:ignore "*" ./tmp
property 'svn:ignore' set on 'app'
property 'svn:ignore' set on 'config'
property 'svn:ignore' set on 'db'
property 'svn:ignore' set on 'doc'
property 'svn:ignore' set on 'lib'
property 'svn:ignore' set on 'log'
property 'svn:ignore' set on 'nbproject'
property 'svn:ignore' set on 'public'
[etc...]
That's not right. Am I doing something wrong (or perhaps going insane), or is my svn on Windows broken?
Some notes:
> svn --version
svn, version 1.5.2 (r32768)
compiled Aug 28 2008, 19:05:34
Update: I've have just tried this on a Windows XP machine and it works as expected. So either this is a Vista specific issue, or there is a problem with my Vista configuration. Is anyone else able to reproduce this problem on Vista? I have just spotted that Vista isn't listed as one of the supported platforms on the CollabNet downloads page.
It looks like Microsoft, in their infinite wisdom, have changed the behavior of wildcard expansion in Windows Vista:
So instead of an escaped wildcard being passed in, it gets expanded:
Under Win 95, 98, 2000, XP, the application runs as expected: it does wildcard expansion when parameters are like «*.txt» and it does NOT when parameters are like «"*.txt"». Under Windows Vista, wildcard expansion takes place always, or, said otherwise, double quotation marks DOES NOT suppress it.
There is further discussion on this issue on the Collabnet forum.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With