#!/bin/sh export LC_ALL=C SVN="svn" SVN2CL="/home/tjoke/svn2cl-0.13/svn2cl.sh" AUTHORS="/home/tjoke/svn2cl-0.13/authors.xml" REPO_ROOT=$(svn info | grep 'Repository Root' | sed 's:.*\:\ \(.*\):\1:') REPO_URL=$(svn info | grep 'URL' | sed 's:.*\:\ \(.*\):\1:') # subst root from uri CUR_ROOT="${REPO_URL/${REPO_ROOT}/}" ${SVN} update ${SVN2CL} --group-by-day --include-rev --include-actions --break-before-msg --authors ${AUTHORS} --strip-prefix "${CUR_ROOT}" $@