On Wednesday 18 December 2002 5:06 pm, Angus Leeming wrote:
> On Wednesday 18 December 2002 4:23 pm, Lars Gullik Bjønnes wrote:
> > | Lars, what do I need to check out again of I want to try and fix that
> > |   viewcvs.cgi/./ChangeLog
> > | crap that should be
> > |   viewcvs.cgi/lyx-devel/ChangeLog
> >
> > CVSROOT
> >
> > you find the scripts in bin/ there.
> >
> > You are however not allowed to commit.
> >
> > It might be that the easiest solution is to realize that ./ always is
> > the module name.
> >
> > So a transformation ./ -> modulename/, might do the trick
> >  (./ -> lyx-devel/)
>
> This seems to be the block of code:
>
>  # XXX There are some ugly assumptions in here about module names and
>  # XXX directories relative to the $CVSROOT location -- really should
>  # XXX read $CVSROOT/CVSROOT/modules, but that's not so easy to do, since
>  # XXX we have to parse it backwards.
>  # XXX
>  # XXX Fortunately it's relatively easy for the user to specify the
>  # XXX module name as appropriate with a '-M' via the directory
>  # XXX matching in loginfo.
>  #
>  if ($modulename eq "") {
>      $modulename = $path[0];     # I.e. the module name == top-level dir
>  }
>  if ($#path == 0) {
> -    $dir = ".";
> +    $dir = $modulename;
>  } else {
>      $dir = join('/', @path);
>  }
>  $dir = $dir . "/";

Oops, I hit send before I meant to. I was going to ask if you could tell me 
how log_accum is called

I'm using this for testing purposes, but real data would be good...
./log_accum -d -m crap  "lyx-devel src/ChangeLog ChangeLog"

-- 
Angus

Reply via email to