Hi,

Using Subversion "trunk" on Windows built from TortoiseSVN.

I would like to set the svn:ignore property to * on a certain directory.
(I'm trying to ignore everything since I'd only want to explicitly add a
few subdirectories).

I thought this would do the trick
C:\wc>svn propset svn:ignore * directoryname

But alas it expands the * to all files in the current directory. I'd like
to quote the * so the property is set to exactly *. I've found ways to
quote the * (for example '*') but in those cases the property is set to
also include the quotes.

I've digged around and found a few messages in the archive indicating that
Subversion on Windows is using setargv.obj and then the following thread on
Stackoverflow [1] indicating that setargv.obj doesn't have a way to avoid
wildcard expansion.

Does anyone have a trick up the sleve?

The following seems to work but it feels a bit unintuitive:
echo * | svn propset -F - svn:ignore directoryname

Kind regards,
Daniel

[1]
https://stackoverflow.com/questions/47512829/is-it-possible-to-quote-escape-command-line-arguments-on-windows-while-linking-s

Reply via email to