# $Id: test_repo.sh.in 439 2007-07-09 21:04:52Z peter $ # Copyright (C) 2007 Jari Häkkinen, Peter Johansson # # This file is part of svndigest, http://trac.thep.lu.se/trac/svndigest # # svndigest is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # svndigest is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. toy=$srcdir/toy_project; # test repository does not exist and need to be checked out if [ ! -d $toy ]; then repodir=`cd "$srcdir" && pwd`; repodir=$repodir"/repo/trunk"; svn checkout file://$repodir $toy; fi svn update $toy > /dev/null; if [ ! -d $targetdir ]; then mkdir $targetdir; fi exec $top_builddir/bin/svndigest -r $toy -t $targetdir -f --copyright $1;