954 |
06 Dec 09 |
peter |
#!/bin/sh |
568 |
12 Mar 08 |
peter |
2 |
|
267 |
01 May 07 |
jari |
# $Id$ |
246 |
28 Apr 07 |
peter |
4 |
|
978 |
12 Dec 09 |
peter |
# Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson |
1532 |
05 Oct 12 |
peter |
# Copyright (C) 2009, 2010, 2011, 2012 Peter Johansson |
327 |
18 May 07 |
jari |
7 |
# |
687 |
04 Aug 08 |
peter |
# This file is part of svndigest, http://dev.thep.lu.se/svndigest |
327 |
18 May 07 |
jari |
9 |
# |
327 |
18 May 07 |
jari |
# svndigest is free software; you can redistribute it and/or modify it |
327 |
18 May 07 |
jari |
# under the terms of the GNU General Public License as published by |
693 |
11 Sep 08 |
jari |
# the Free Software Foundation; either version 3 of the License, or |
327 |
18 May 07 |
jari |
# (at your option) any later version. |
327 |
18 May 07 |
jari |
14 |
# |
327 |
18 May 07 |
jari |
# svndigest is distributed in the hope that it will be useful, but |
327 |
18 May 07 |
jari |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
327 |
18 May 07 |
jari |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
327 |
18 May 07 |
jari |
# General Public License for more details. |
327 |
18 May 07 |
jari |
19 |
# |
327 |
18 May 07 |
jari |
# You should have received a copy of the GNU General Public License |
693 |
11 Sep 08 |
jari |
# along with svndigest. If not, see <http://www.gnu.org/licenses/>. |
327 |
18 May 07 |
jari |
22 |
|
952 |
06 Dec 09 |
peter |
23 |
required="repo" |
246 |
28 Apr 07 |
peter |
24 |
|
1525 |
01 Oct 12 |
peter |
25 |
. test/init.sh || exit 99 |
568 |
12 Mar 08 |
peter |
26 |
|
933 |
03 Dec 09 |
peter |
# exit if cmd fails |
933 |
03 Dec 09 |
peter |
28 |
set -e |
744 |
08 Jan 09 |
peter |
29 |
|
1266 |
02 Nov 10 |
peter |
30 |
$SVN revert $rootdir -R |
1092 |
12 Jun 10 |
peter |
31 |
$SVN update $rootdir -r 45 |
952 |
06 Dec 09 |
peter |
32 |
$SVN update $rootdir/lib |
1449 |
22 Dec 11 |
peter |
# to get svncopyright:ignore property |
1449 |
22 Dec 11 |
peter |
34 |
$SVN update $rootdir/dir_to_be_ignored -r 71 |
933 |
03 Dec 09 |
peter |
# cannot use old config file because it's invalid |
952 |
06 Dec 09 |
peter |
36 |
$SVN update $rootdir/.svndigest |
246 |
28 Apr 07 |
peter |
37 |
|
1266 |
02 Nov 10 |
peter |
38 |
SVNCOPYRIGHT_run 0 -r $rootdir --ignore-cache --verbose |
539 |
27 Dec 07 |
peter |
39 |
|
1266 |
02 Nov 10 |
peter |
40 |
$GREP '^Parsing.*dir_to_be_ignored' stdout && exit_fail |
1266 |
02 Nov 10 |
peter |
41 |
|
1449 |
22 Dec 11 |
peter |
42 |
rm -rf $rootdir |
1449 |
22 Dec 11 |
peter |
43 |
exit_success; |