source: trunk/test/test_repo.sh.in @ 292

Last change on this file since 292 was 273, checked in by Peter Johansson, 16 years ago

passing first argument of test_repo.sh through to svndigest

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 412 bytes
Line 
1# $Id: test_repo.sh.in 273 2007-05-02 08:54:02Z peter $
2
3toy=$srcdir/toy_project;
4
5# test repository does not exist and need to be checked out
6if [ ! -d $toy ]; then
7    repodir=`cd "$srcdir" && pwd`;
8    repodir=$repodir"/repo/trunk";
9    svn checkout file://$repodir $toy;
10fi
11
12# revert and update
13svn revert -R $toy/*;
14svn update $toy;
15
16if [ ! -d $targetdir ]; then
17    mkdir $targetdir;
18fi
19
20exec $top_builddir/bin/svndigest -r $toy -t $targetdir -f --copyright $1;
Note: See TracBrowser for help on using the repository browser.