X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Fresolve_svn.sh;h=b75979738722604de485d217b321a6dc64104009;hb=2ab1cf327d1637a4660147eabc7f32bbe0039b7d;hp=3484a859915fd47a9fcd18e339b2693346c9b6d0;hpb=409e16d594529b70ac9090cefec0452074c9603f;p=feisty_meow.git diff --git a/scripts/rev_control/resolve_svn.sh b/scripts/rev_control/resolve_svn.sh index 3484a859..b7597973 100644 --- a/scripts/rev_control/resolve_svn.sh +++ b/scripts/rev_control/resolve_svn.sh @@ -3,8 +3,18 @@ # 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"