# HG changeset patch # User Augie Fackler # Date 1260981294 21600 # Node ID 040ac89ffe1e1aa326dd77a04f898fefcd4a5266 # Parent efe94205bf073166bd24aa176ffc35c55b668d78 ez-svn-sync: add usage help diff --git a/.shell.d/50.vcs_functions.sh b/.shell.d/50.vcs_functions.sh --- a/.shell.d/50.vcs_functions.sh +++ b/.shell.d/50.vcs_functions.sh @@ -9,9 +9,13 @@ function mq () { } function ezsvnsync() { - local url + if [ x"$1" = "x" ] ; then + echo 'usage: ez-svn-sync repo url' + return 0 + fi local repo repo=$1 + local url url=$2 svnadmin create $repo echo '#!/bin/sh' >> $repo/hooks/pre-revprop-change