annotate svn2cl @ 24:e6538f457e31 default tip

Fix and bump copyrights.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 20 May 2020 12:45:34 +0300
parents 2befd98bdccd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 #!/bin/sh
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3 # svn2cl.sh - front end shell script for svn2cl.xsl, calls xsltproc
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4 # with the correct parameters
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5 #
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
6 # Copyright (C) 2005-2008 Arthur de Jong.
24
e6538f457e31 Fix and bump copyrights.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
7 # Copyright (C) 2008-2020 Matti Hamalainen <ccr@tnsp.org>
1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
8 #
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
9 # Redistribution and use in source and binary forms, with or without
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
10 # modification, are permitted provided that the following conditions
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11 # are met:
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
12 # 1. Redistributions of source code must retain the above copyright
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
13 # notice, this list of conditions and the following disclaimer.
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
14 # 2. Redistributions in binary form must reproduce the above copyright
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15 # notice, this list of conditions and the following disclaimer in
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
16 # the documentation and/or other materials provided with the
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
17 # distribution.
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
18 # 3. The name of the author may not be used to endorse or promote
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
19 # products derived from this software without specific prior
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
20 # written permission.
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
21 #
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
22 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
23 # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
24 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
25 # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
26 # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
27 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
28 # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
29 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
30 # IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
31 # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
32 # IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
33
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
34 # exit on any failures
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
35 set -e
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
36
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
37 # svn2cl version
23
2befd98bdccd Bump svn2cl version.
Matti Hamalainen <ccr@tnsp.org>
parents: 22
diff changeset
38 VERSION="0.4"
1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
39
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
40 # set default parameters
22
94da1cdc957c Default svn2cl STRIPPREFIX to empty like in hg2cl.
Matti Hamalainen <ccr@tnsp.org>
parents: 21
diff changeset
41 STRIPPREFIX=""
1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
42 LINELEN=75
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
43 GROUPBYDAY="yes"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
44 INCLUDEREV="no"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
45 CHANGELOG="ChangeLog"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
46
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
47 # do command line checking
20
627a2524520d Cleanups, rename svn2cl.xsl to xml2cl.csl.
Matti Hamalainen <ccr@tnsp.org>
parents: 5
diff changeset
48 prog="$(basename $0)"
1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
49 while [ -n "$1" ]
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
50 do
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
51 case "$1" in
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
52 --strip-prefix)
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
53 STRIPPREFIX="$2"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
54 shift 2
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
55 ;;
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
56 --linelen)
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
57 LINELEN="$2";
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
58 shift 2
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
59 ;;
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
60 --separate)
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
61 GROUPBYDAY="no";
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
62 shift
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
63 ;;
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
64 -r|--include-rev)
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
65 INCLUDEREV="yes";
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
66 shift
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
67 ;;
21
31f6639b7a77 Rename -O long option --*-options to --options both in hg2cl and svn2cl.
Matti Hamalainen <ccr@tnsp.org>
parents: 20
diff changeset
68 -O|--options)
1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
69 EXTRAOPTS="$2"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
70 shift 2
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
71 ;;
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
72 -o|--output)
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
73 CHANGELOG="$2"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
74 shift 2
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
75 ;;
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
76 --stdout)
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
77 CHANGELOG="-"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
78 shift
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
79 ;;
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
80 -V|--version)
20
627a2524520d Cleanups, rename svn2cl.xsl to xml2cl.csl.
Matti Hamalainen <ccr@tnsp.org>
parents: 5
diff changeset
81 echo "${prog} $VERSION";
1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
82 echo "Written by Arthur de Jong."
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
83 echo "Modified by Matti Hamalainen."
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
84 echo "Copyright (C) 2005-2008 Arthur de Jong."
24
e6538f457e31 Fix and bump copyrights.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
85 echo "Copyright (C) 2008-2020 Matti Hamalainen <ccr@tnsp.org>."
1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
86 echo ""
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
87 echo "This is free software; see the source for copying conditions. There is NO"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
88 echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
89 exit 0
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
90 ;;
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
91 -h|--help)
20
627a2524520d Cleanups, rename svn2cl.xsl to xml2cl.csl.
Matti Hamalainen <ccr@tnsp.org>
parents: 5
diff changeset
92 echo "Usage: ${prog} [OPTION]..."
1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
93 echo "Generate a ChangeLog from a checked out subversion repository."
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
94 echo ""
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
95 echo " --strip-prefix NAME prefix to strip from all entries, defaults"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
96 echo " to the name of the current directory"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
97 echo " --linelen NUM maximum length of an output line"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
98 echo " --separate don't group changelog entries by day"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
99 echo " -r, --include-rev include revision numbers"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
100 echo " -o, --output FILE output to FILE instead of ChangeLog"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
101 echo " --stdout output to stdout instead of ChangeLog"
21
31f6639b7a77 Rename -O long option --*-options to --options both in hg2cl and svn2cl.
Matti Hamalainen <ccr@tnsp.org>
parents: 20
diff changeset
102 echo " -O, --options OPT options passed to Subversion"
1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
103 echo " -h, --help display this help and exit"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
104 echo " -V, --version output version information and exit"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
105 exit 0
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
106 ;;
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
107 *)
20
627a2524520d Cleanups, rename svn2cl.xsl to xml2cl.csl.
Matti Hamalainen <ccr@tnsp.org>
parents: 5
diff changeset
108 echo "${prog}: invalid option -- $1"
627a2524520d Cleanups, rename svn2cl.xsl to xml2cl.csl.
Matti Hamalainen <ccr@tnsp.org>
parents: 5
diff changeset
109 echo "Try \`${prog} --help' for more information."
1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
110 exit 1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
111 ;;
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
112 esac
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
113 done
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
114
4
f27514832835 Test for existence of repository.
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
115 # test for repository
f27514832835 Test for existence of repository.
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
116 if test ! -e ".svn"; then
f27514832835 Test for existence of repository.
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
117 echo "No Subversion repository found from this directory."
f27514832835 Test for existence of repository.
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
118 exit 2
f27514832835 Test for existence of repository.
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
119 fi
f27514832835 Test for existence of repository.
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
120
1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
121 # find the directory that this script resides in
20
627a2524520d Cleanups, rename svn2cl.xsl to xml2cl.csl.
Matti Hamalainen <ccr@tnsp.org>
parents: 5
diff changeset
122 dir="$(dirname "$(realpath "$0")")"
627a2524520d Cleanups, rename svn2cl.xsl to xml2cl.csl.
Matti Hamalainen <ccr@tnsp.org>
parents: 5
diff changeset
123 XSL="${dir}/xml2cl.xsl"
1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
124
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
125 # redirect stdout to the changelog file if needed
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
126 if test "x$CHANGELOG" != "x-"; then
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
127 exec > "$CHANGELOG"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
128 fi
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
129
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
130 # actually run the command we need
5
cdd7f7b6d4b0 Fixed applying of Subversion options.
Matti Hamalainen <ccr@tnsp.org>
parents: 4
diff changeset
131 svn --verbose --xml log $EXTRAOPTS | \
1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
132 xsltproc --stringparam strip-prefix "$STRIPPREFIX" \
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
133 --stringparam linelen $LINELEN \
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
134 --stringparam groupbyday $GROUPBYDAY \
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
135 --stringparam include-rev $INCLUDEREV \
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
136 "$XSL" -