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 . "/";

-- 
Angus

Reply via email to