#!/bin/bash export SCRIPT=$(basename $0) usage() { echo "Usage: $SCRIPT [-q] [target-branch|target-version]" exit 1 } export -f usage . ${0%/*}/include/url.inc if [ -z "$source_version" ] then echo "Error: Could not determine source branch version -- do you call this script from a SVN repository checkout?" >&2 exit 2 fi opt= while true do case $1 in -*) opt+=" $1";; *) break;; esac shift done target_version=$1 shift 1 case $target_version in '') usage ;; *.*) target_branch="trunk" ;; *) target_branch=$target_version target_version=$source_version ;; esac ${0%/*}/missing-changesets $opt branches/$source_version/$source_branch/src branches/$target_version/$target_branch/src FFL