summaryrefslogtreecommitdiffstats
path: root/scripts/svnrevertlast
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/svnrevertlast')
-rwxr-xr-xscripts/svnrevertlast9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/svnrevertlast b/scripts/svnrevertlast
new file mode 100755
index 00000000..e98a2e53
--- /dev/null
+++ b/scripts/svnrevertlast
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+surl=$PWD
+for i in $@ ;
+do
+ cd $surl/`dirname $i`
+ svn merge -r BASE:PREV `basename $i`
+done
+