annotate svn2cl @ 20:627a2524520d

Cleanups, rename svn2cl.xsl to xml2cl.csl.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 20 May 2020 12:42:41 +0300
parents cdd7f7b6d4b0
children 31f6639b7a77
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.
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
7 #
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
8 # 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
9 # 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
10 # are met:
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11 # 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
12 # 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
13 # 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
14 # 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
15 # 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
16 # distribution.
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
17 # 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
18 # 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
19 # written permission.
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
20 #
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
21 # 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
22 # 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
23 # 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
24 # 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
25 # 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
26 # 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
27 # 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
28 # 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
29 # 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
30 # 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
31 # 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
32
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
33 # exit on any failures
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
34 set -e
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
35
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
36 # svn2cl version
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
37 VERSION="0.2"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
38
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
39 # set default parameters
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
40 STRIPPREFIX=`basename $(pwd)`
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
41 LINELEN=75
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
42 GROUPBYDAY="yes"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
43 INCLUDEREV="no"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
44 CHANGELOG="ChangeLog"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
45
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
46 # do command line checking
20
627a2524520d Cleanups, rename svn2cl.xsl to xml2cl.csl.
Matti Hamalainen <ccr@tnsp.org>
parents: 5
diff changeset
47 prog="$(basename $0)"
1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
48 while [ -n "$1" ]
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
49 do
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
50 case "$1" in
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
51 --strip-prefix)
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
52 STRIPPREFIX="$2"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
53 shift 2
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
54 ;;
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
55 --linelen)
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
56 LINELEN="$2";
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
57 shift 2
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
58 ;;
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
59 --separate)
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
60 GROUPBYDAY="no";
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
61 shift
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
62 ;;
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
63 -r|--include-rev)
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
64 INCLUDEREV="yes";
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
65 shift
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
66 ;;
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
67 -O|--svn-options)
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
68 EXTRAOPTS="$2"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
69 shift 2
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
70 ;;
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
71 -o|--output)
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
72 CHANGELOG="$2"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
73 shift 2
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
74 ;;
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
75 --stdout)
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
76 CHANGELOG="-"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
77 shift
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
78 ;;
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
79 -V|--version)
20
627a2524520d Cleanups, rename svn2cl.xsl to xml2cl.csl.
Matti Hamalainen <ccr@tnsp.org>
parents: 5
diff changeset
80 echo "${prog} $VERSION";
1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
81 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
82 echo "Modified by Matti Hamalainen."
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
83 echo "Copyright (C) 2005-2008 Arthur de Jong."
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
84 echo ""
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
85 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
86 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
87 exit 0
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
88 ;;
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
89 -h|--help)
20
627a2524520d Cleanups, rename svn2cl.xsl to xml2cl.csl.
Matti Hamalainen <ccr@tnsp.org>
parents: 5
diff changeset
90 echo "Usage: ${prog} [OPTION]..."
1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
91 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
92 echo ""
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
93 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
94 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
95 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
96 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
97 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
98 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
99 echo " --stdout output to stdout instead of ChangeLog"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
100 echo " -O, --svn-options OPT options passed to Subversion"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
101 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
102 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
103 exit 0
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
104 ;;
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
105 *)
20
627a2524520d Cleanups, rename svn2cl.xsl to xml2cl.csl.
Matti Hamalainen <ccr@tnsp.org>
parents: 5
diff changeset
106 echo "${prog}: invalid option -- $1"
627a2524520d Cleanups, rename svn2cl.xsl to xml2cl.csl.
Matti Hamalainen <ccr@tnsp.org>
parents: 5
diff changeset
107 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
108 exit 1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
109 ;;
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
110 esac
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
111 done
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
112
4
f27514832835 Test for existence of repository.
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
113 # test for repository
f27514832835 Test for existence of repository.
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
114 if test ! -e ".svn"; then
f27514832835 Test for existence of repository.
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
115 echo "No Subversion repository found from this directory."
f27514832835 Test for existence of repository.
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
116 exit 2
f27514832835 Test for existence of repository.
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
117 fi
f27514832835 Test for existence of repository.
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
118
1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
119 # 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
120 dir="$(dirname "$(realpath "$0")")"
627a2524520d Cleanups, rename svn2cl.xsl to xml2cl.csl.
Matti Hamalainen <ccr@tnsp.org>
parents: 5
diff changeset
121 XSL="${dir}/xml2cl.xsl"
1
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
122
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
123 # 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
124 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
125 exec > "$CHANGELOG"
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
126 fi
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
127
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
128 # actually run the command we need
5
cdd7f7b6d4b0 Fixed applying of Subversion options.
Matti Hamalainen <ccr@tnsp.org>
parents: 4
diff changeset
129 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
130 xsltproc --stringparam strip-prefix "$STRIPPREFIX" \
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
131 --stringparam linelen $LINELEN \
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
132 --stringparam groupbyday $GROUPBYDAY \
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
133 --stringparam include-rev $INCLUDEREV \
2375efb3340d Added a modified version of svn2cl and the XSL stylesheet.
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
134 "$XSL" -