Mercurial > dotfiles
changeset 169:040ac89ffe1e
ez-svn-sync: add usage help
| author | Augie Fackler <durin42@gmail.com> |
|---|---|
| date | Wed, 16 Dec 2009 10:34:54 -0600 |
| parents | efe94205bf07 |
| children | fd92c15701ae |
| files | .shell.d/50.vcs_functions.sh |
| diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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
