I'd be more inclined to figure out what's going on with the properties and solve that problem than try to just ignore them. That said, at the end of this answer, there's a one-liner that will speed up your revert process if you're on linux.
For the sake of this answer, I've set a property on one file ( window.c
) and modified another ( window.h
).
svn status
M window.c
M window.h
The main commands svn use for properties are:
svn propset answer 42 window.c
property 'answer' set on 'window.c'
Sets a propety 'answer' on file window.c to value 42. You're probably not wanting to use this.
svn proplist window.c
Properties on 'window.c':
svn:keywords
svn:eol-style
answer
Lists all of the properties (without values) on the file.
svn propget answer window.c
42
Gets the value of a specific property.
svn propedit answer window.c
Set new value for property 'answer' on 'window.c'
Opens up an editor (on my machine it's nano of all things) and lets you edit the property, then sets it on the given file.
svn propdel answer window.c
property 'answer' deleted from 'window.c'.
Deletes the specified property (this probably won't resolve your problem, my guess).
You can also do the svn diff
to find out which property is different:
svn diff window.c
Index: window.c
===================================================================
--- window.c (revision 35712)
+++ window.c (working copy)
Property changes on: window.c
___________________________________________________________________
Added: answer
## -0,0 +1 ##
+42
\ No newline at end of property
This basically says that the only change here is a property 'answer' has been added, with value 42 (and no newline).
So what I'd do
Start with svn diff
and find out what's changed:
svn diff controllers/database/udfs/searchForNameContSrch.sql
svn diff controllers/main
Have a google for the property that is changing and see if you can figure out what tool is setting it and turn it off.
You could try using svn propdelete
to ditch the properties, but I don't think that's going to help.
Failing that -- a quick revert script
Otherwise, if you're using linux, this one liner will revert the files that have property modifications, but not content modifications.
PLEASE TEST THIS ON NON-CRITICAL UPDATES THE FIRST TIME, YES?!?!?
svn status | grep "^ M" | sed "s/^.\{8\}//" | while read rv; do svn revert $rv; done
That is:
svn status
pipe it through grep and filter for ONLY lines that start with ' M' (so it will ignore 'MM' - important).
pipe it through sed and delete the first 8 characters (which are all the status columns before the file name).
pipe that into a loop and revert the given file name.
Here it is in action:
svn status
M window.c
M window.h
svn status | grep "^ M" | sed "s/^.\{8\}//" | while read rv; do svn revert $rv; done
Reverted 'window.c'
svn status
M window.h