There once was almost the [same question]: Append directories to ignored list in SVN that I'm asking, but I'm needing it for windows.
For my needs, I need a script like @nosid wrote in that thread:
#! /bin/bash
ignore="foo"
for pathname in "$@"; do
lines="$( svn propget svn:ignore "$pathname" )"
grep -F -x -q "$ignore" - <<< "$lines" ||
svn propset svn:ignore "$lines"$'\n'"$ignore" "$pathname"
done
Do you know how to implement that with vbscript (or batch)?
At the moment I'm doing it like this and this just unversions WimID.xml but all other ignored files aren't ignored anymore (Ignore file in Subversion removes old values from svn:ignore property).
fso.MoveFile "G:\x\BuildImage\WimID.xml", "G:\WimID.xml"
wshshell.run UnversionBat
fso.MoveFile "G:\WimID.xml", "G:\x\BuildImage\WimID.xml"
The UnversionBat is:
svn commit WimID.xml -m "test"
svn propset svn:ignore WimID.xml .