--- cvsweb.conf.orig Sun Sep 18 17:30:10 2005 +++ cvsweb.conf Sun Sep 18 18:23:09 2005 @@ -28,6 +28,9 @@ # The name of the operating system implementation chomp($uname = `$CMD{uname}`); +# Set tag expansion for $FreeBSD$ +$ENV{'RCSLOCALID'} = 'FreeBSD'; + ############## # CVS Root ############## @@ -44,7 +47,7 @@ # Listed in the order specified: @CVSrepositories = ( 'local' => ['Local Repository', '/home/cvs'], -# 'freebsd' => ['FreeBSD', '/home/ncvs'], + 'freebsd' => ['FreeBSD', '/home/ncvs'], # 'openbsd' => ['OpenBSD', '/home/ncvs'], # 'netbsd' => ['NetBSD', '/home/ncvs'], # 'ruby' => ['Ruby', '/var/anoncvs/ruby'], @@ -115,6 +118,7 @@ # h Human readable # u Unified diff # c Context diff + # s Side by side "f" => "u", # hidecvsroot: Don't show the CVSROOT directory @@ -288,6 +292,19 @@ # make lines breakable so that the columns do not # exceed the width of the browser $hr_breakable = 1; + +# give out function names in diffs +# this just makes sense if we have C-files, otherwise +# diff's heuristic doesn't work well .. +# ( '-p' option to diff) +$showfunc = 1; + +# For each pair of regexps, files that match the first regexp will be diff'ed +# with an '-F' option with the second regexp. +%funcline_regexp = ( + "\\.(4th|fr)\$" => "\\(^\\|[ \t]\\): ", + "\\.rb\$" => "^[\t ]*\\(class\\|module\\|def\\) ", +); # ignore whitespaces for human readable diffs # (indendation and stuff ..)