From: Rob H. <for...@us...> - 2001-12-23 04:48:09
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb/Repository In directory usw-pr-cvs1:/tmp/cvs-serv26984/lib/SandWeb/Repository Modified Files: CVS.pm Log Message: turned on context diff by default, and documented it. if we can parse this data, colorize the parts prefaced by "+ " and "- ", we will have "colorized context diff" functionality. Index: CVS.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Repository/CVS.pm,v retrieving revision 1.18 retrieving revision 1.19 diff -U2 -r1.18 -r1.19 --- CVS.pm 2001/12/18 07:47:26 1.18 +++ CVS.pm 2001/12/23 04:48:06 1.19 @@ -170,4 +170,5 @@ my $rev = $args{'rev'}; my $recurse = $args{'recurse'}; + my $context = $args{'context'}; my $file = $args{'file'}; @@ -178,4 +179,5 @@ if ($date) { push @param, " $date" }; if ($rev) { push @param, " -r $rev" }; + if ($context) { push @param, " -c" }; if ($recurse) { push @param, " -R" }; |