Return all svn: ignore properties recursively
I messed up some of my directories svn:ignore
.
How can I recursively return all properties of svn:ignore
all directories to the current version in SVN without returning their containing files?
+3
Sebastian barth
source
to share
1 answer
You can make a list of directories you want to return and return them (if you are using some kind of Unix and don't use spaces in your paths):
svn st -q | \
awk '{print $2;}' | \
xargs svn pg svn:ignore | \
sed -n -e 's/ - .*$//p' | \
xargs svn revert --depth empty
If you are stuck on Windows, consider installing GNU on Windows and replace the '
above with "
.
If you just want to remove them you can use
svn pd svn:ignore -R ...
0
Atafar
source
to share