X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Fresolve_svn.sh;fp=scripts%2Frev_control%2Fresolve_svn.sh;h=b75979738722604de485d217b321a6dc64104009;hb=7b39f7e279005c8466ef508220a532ce2aa4abf8;hp=0000000000000000000000000000000000000000;hpb=3fbd372b35b15a19fb171d5ae34294ff7b1e6485;p=feisty_meow.git diff --git a/scripts/rev_control/resolve_svn.sh b/scripts/rev_control/resolve_svn.sh new file mode 100644 index 00000000..b7597973 --- /dev/null +++ b/scripts/rev_control/resolve_svn.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# resolves a tree conflict by accepting the "working" version, +# which effectively makes your current change the accepted one. + +source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" +source "$FEISTY_MEOW_SCRIPTS/rev_control/version_control.sh" + +############## + +filename="$1"; shift + +if [ -z "$filename" ]; then + echo "This script needs a filename to operate on." + exit 1 +fi + +svn resolve --accept=working "$filename" +test_or_die "resolving tree conflict by accepting the working directory as the right one" + +