#!@SHELL # $Id: test_repo.sh.in 500 2007-10-16 21:44:33Z 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. # test repository does not exist and need to be checked out if [ ! -d @rootdir ]; then repodir=`cd "@srcdir" && pwd`; repodir=$repodir"/repo/trunk"; svn checkout file://$repodir @rootdir; fi svn update @rootdir > /dev/null; if [ ! -d @targetdir ]; then mkdir @targetdir; fi exec @top_builddir/bin/svndigest -r @rootdir -t @targetdir -f --copyright $1;