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

Last change on this file since 519 was 519, checked in by Jari Häkkinen, 14 years ago

trac moved to new location.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
RevLine 
[500]1#!@SHELL
[267]2# $Id: test_repo.sh.in 519 2007-12-23 20:14:50Z jari $
[246]3
[408]4# Copyright (C) 2007 Jari Häkkinen, Peter Johansson
[327]5#
[519]6# This file is part of svndigest, http://trac.thep.lu.se/svndigest
[327]7#
8# svndigest is free software; you can redistribute it and/or modify it
9# under the terms of the GNU General Public License as published by
10# the Free Software Foundation; either version 2 of the License, or
11# (at your option) any later version.
12#
13# svndigest is distributed in the hope that it will be useful, but
14# WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16# General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with this program; if not, write to the Free Software
20# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
21# 02111-1307, USA.
22
[246]23# test repository does not exist and need to be checked out
[500]24if [ ! -d @rootdir ]; then
25    repodir=`cd "@srcdir" && pwd`;
[248]26    repodir=$repodir"/repo/trunk";
[500]27    svn checkout file://$repodir @rootdir;
[246]28fi
29
[500]30svn update @rootdir > /dev/null;
[246]31
[500]32if [ ! -d @targetdir ]; then
33    mkdir @targetdir;
[246]34fi
35
[500]36exec @top_builddir/bin/svndigest -r @rootdir -t @targetdir -f --copyright $1;
Note: See TracBrowser for help on using the repository browser.