Update of /cvsroot/sandweb/sandweb/lib/SandWeb
In directory usw-pr-cvs1:/tmp/cvs-serv26984/lib/SandWeb
Modified Files:
Repository.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: Repository.pm
===================================================================
RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Repository.pm,v
retrieving revision 1.15
retrieving revision 1.16
diff -U2 -r1.15 -r1.16
--- Repository.pm 2001/12/18 09:07:38 1.15
+++ Repository.pm 2001/12/23 04:48:06 1.16
@@ -190,8 +190,10 @@
my $rev = $args{'rev'};
my $recurse = $args{'recurse'};
+ my $context = "1";
my $repo_type = $self->get_repo_type();
my $root = $self->get_root();
my $sandbox = $self->get_sandbox();
my %return = {};
+
my $vcs = SandWeb::Repository::CVS->new(
root => $root,
@@ -205,4 +207,5 @@
rev => $rev,
recurse => $recurse,
+ context => $context,
file => $file,
);
|