3 #=======================================================================
5 # Generates statistics from a Subversion repository.
8 # ©opyleft 2004– Øyvind A. Holm <sunny@sunbase.org>
9 # License: GNU General Public License, see end of file for legal stuff.
10 #=======================================================================
21 my $VERSION = "0.0.0";
24 $progname =~ s
#^.*/(.*?)$#$1#;
27 my $id_date = $rcs_id;
28 $id_date =~ s/^.*?\d+ (\d\d\d\d-.*?\d\d:\d\d:\d\d\S+).*/$1/;
30 Getopt
::Long
::Configure
("bundling");
32 "help|h" => \
$opt_help
33 ) || die("$progname: Option error. Use -h for help.\n");
35 $opt_help && usage
(0);
42 # Send the help message to stdout {{{
46 $progname v$VERSION -- $id_date
48 Usage: $progname [options] [file [files [...]]]
52 -h, --help Show this help.
61 # Plain Old Documentation (POD) {{{
75 svnstat [options] [[file|dir|URL] ...]]
79 Generates various statistics from a Subversion repository.
83 (Not implemented yet, only drafts.)
89 Use only data from author x. Can be repeated.
91 =item B<-h>, B<--help>
93 Print a brief help summary.
95 =item B<--commits-per> timespec
97 Generate a curve with the number of commits per I<timespec>.
98 Valid strftime(3)-like modifiers:
143 Made by Øyvind A. Holm S<E<lt>sunny _AT_ sunbase.orgE<gt>>.
147 Copyleft © Øyvind A. Holm <sunny@sunbase.org>
148 This is free software; see the file F<COPYING> for legalese stuff.
152 This program is free software; you can redistribute it and/or modify it
153 under the terms of the GNU General Public License as published by the
154 Free Software Foundation; either version 2 of the License, or (at your
155 option) any later version.
157 This program is distributed in the hope that it will be useful, but
158 WITHOUT ANY WARRANTY; without even the implied warranty of
159 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
160 See the GNU General Public License for more details.
162 You should have received a copy of the GNU General Public License along
163 with this program; if not, write to the Free Software Foundation, Inc.,
164 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
172 # vim: set fenc=UTF-8 ft=perl fdm=marker ts=4 sw=4 sts=4 et fo+=w :