Last change
on this file since 273 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
|
Rev | Line | |
---|
[267] | 1 | # $Id: test_repo.sh.in 273 2007-05-02 08:54:02Z peter $ |
---|
[246] | 2 | |
---|
| 3 | toy=$srcdir/toy_project; |
---|
| 4 | |
---|
| 5 | # test repository does not exist and need to be checked out |
---|
| 6 | if [ ! -d $toy ]; then |
---|
| 7 | repodir=`cd "$srcdir" && pwd`; |
---|
[248] | 8 | repodir=$repodir"/repo/trunk"; |
---|
[246] | 9 | svn checkout file://$repodir $toy; |
---|
| 10 | fi |
---|
| 11 | |
---|
| 12 | # revert and update |
---|
| 13 | svn revert -R $toy/*; |
---|
| 14 | svn update $toy; |
---|
| 15 | |
---|
| 16 | if [ ! -d $targetdir ]; then |
---|
| 17 | mkdir $targetdir; |
---|
| 18 | fi |
---|
| 19 | |
---|
[273] | 20 | exec $top_builddir/bin/svndigest -r $toy -t $targetdir -f --copyright $1; |
---|
Note: See
TracBrowser
for help on using the repository browser.