new script to resolve tree problem for svn.
authorChris Koeritz <fred@gruntose.com>
Tue, 8 Oct 2013 23:15:05 +0000 (19:15 -0400)
committerChris Koeritz <fred@gruntose.com>
Tue, 8 Oct 2013 23:15:05 +0000 (19:15 -0400)
scripts/rev_control/fix_svn_item.sh [new file with mode: 0644]

diff --git a/scripts/rev_control/fix_svn_item.sh b/scripts/rev_control/fix_svn_item.sh
new file mode 100644 (file)
index 0000000..64eabaa
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+# resolves a tree conflict by accepting the "working" version,
+# which effectively makes your current change the accepted one.
+
+filename="$1"; shift
+
+svn resolve  --accept=working "$filename"