Changeset 500 for trunk/test/test_repo.sh.in
- Timestamp:
- Oct 16, 2007, 11:44:33 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/test_repo.sh.in
r439 r500 1 #!@SHELL 1 2 # $Id$ 2 3 … … 20 21 # 02111-1307, USA. 21 22 22 toy=$srcdir/toy_project;23 24 23 # test repository does not exist and need to be checked out 25 if [ ! -d $toy]; then26 repodir=`cd " $srcdir" && pwd`;24 if [ ! -d @rootdir ]; then 25 repodir=`cd "@srcdir" && pwd`; 27 26 repodir=$repodir"/repo/trunk"; 28 svn checkout file://$repodir $toy;27 svn checkout file://$repodir @rootdir; 29 28 fi 30 29 31 svn update $toy> /dev/null;30 svn update @rootdir > /dev/null; 32 31 33 if [ ! -d $targetdir ]; then34 mkdir $targetdir;32 if [ ! -d @targetdir ]; then 33 mkdir @targetdir; 35 34 fi 36 35 37 exec $top_builddir/bin/svndigest -r $toy -t $targetdir -f --copyright $1;36 exec @top_builddir/bin/svndigest -r @rootdir -t @targetdir -f --copyright $1;
Note: See TracChangeset
for help on using the changeset viewer.