Lines Matching refs:basename
253 my $basename = basename ($file);
254 system ("rm -f $webrev_dir/$file/new.$basename; cp $file $webrev_dir/$file/new.$basename");
258 return "[<A HREF=\"$file/new.$basename\">new</A>] ";
264 my $basename = basename ($file);
265 system ("rm -f $webrev_dir/$file/old.$basename");
270 system ("svn --non-interactive cat -r BASE $file > $webrev_dir/$file/old.$basename");
286 system ("cd $webrev_dir/tmp && LC_ALL=C cvs -q -z3 -d $CVSROOT co -r$rev $REPO/$basename >/dev/null 2>&1 && mv $REPO/$basename $webrev_dir/$file/old.$basename && cd / && rm -rf $webrev_dir/tmp");
291 return "[<A HREF=\"$file/old.$basename\">old</A>] ";
298 my $basename = basename ($file);
303 @diff = `cd $webrev_dir/$file; /usr/bin/diff -u old.$basename new.$basename`;
343 my $basename = basename ($file);
344 if (! -f "$webrev_dir/$file/new.$basename") {
347 if (! -f "$webrev_dir/$file/old.$basename") {
350 my @diff = `cd $webrev_dir/$file; /usr/bin/diff -c old.$basename new.$basename`;
455 my $basename = basename ($file);
459 if (! -f "$webrev_dir/$file/new.$basename") {
462 if (! -f "$webrev_dir/$file/old.$basename") {
465 my $total_lines = `cat $webrev_dir/$file/old.$basename | wc -l`;
469 my @diff = `cd $webrev_dir/$file; /usr/bin/diff -U $SDIFF_CONTEXT old.$basename new.$basename`;
610 my $basename = basename ($file);
612 system ("rm -f $webrev_dir/$file/$basename.diff; svn --non-interactive diff $file > $webrev_dir/$file/$basename.diff");
614 system ("rm -f $webrev_dir/$file/$basename.diff; cvs -q diff -up $file > $webrev_dir/$file/$basename.diff");
619 return "[<A HREF=\"$file/$basename.diff\">patch</A>] ";
694 $title = basename ($title . " Webrev");
721 my $basename = basename ($file);
722 my $lines = `cat $webrev_dir/$file/old.$basename | wc -l`;
752 my $basename = basename ($file);
753 my $changed_lines = `diff -c $webrev_dir/$file/old.$basename $webrev_dir/$file/new.$basename | grep '^! ' | wc -l`;
755 my $deleted_lines = `diff -c $webrev_dir/$file/old.$basename $webrev_dir/$file/new.$basename | grep '^- ' | wc -l`;
757 my $new_lines = `diff -c $webrev_dir/$file/old.$basename $webrev_dir/$file/new.$basename | grep '^+ ' | wc -l`;
759 my $total_lines = `cat $webrev_dir/$file/old.$basename | wc -l`;