[Lxr-commits] CVS: lxr/templates lxr.conf,1.24,1.24.2.1
Brought to you by:
ajlittoz
From: Malcolm B. <mb...@us...> - 2005-02-20 23:45:03
|
Update of /cvsroot/lxr/lxr/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11983/templates Modified Files: Tag: bk-dev-branch lxr.conf Log Message: Add a disk-based cache for the results of the 'bk rset' command. This prevents this from taking too long on subsequent invocations - bk rset being a slow operation. As a disk-based cache this can get out of sync with the repository, there is currently no code to detect this. The idea is that this would be manually deleted before running genxref, which would have the side effect of creating an up-to-date cache. Index: lxr.conf =================================================================== RCS file: /cvsroot/lxr/lxr/templates/lxr.conf,v retrieving revision 1.24 retrieving revision 1.24.2.1 diff -u -d -r1.24 -r1.24.2.1 --- lxr.conf 10 Aug 2004 16:14:25 -0000 1.24 +++ lxr.conf 20 Feb 2005 23:44:55 -0000 1.24.2.1 @@ -105,8 +105,17 @@ # server access does NOT work. # 'sourceroot' => 'cvs:/hom/karsk/a/CVSROOT/linux', + # For a BitKeeper repository, specify bk: followed by the path to the + # repository. For BK it is also necessary to specify a 'cachepath' parameter in + # the 'sourceparams' value below. This should point to a directory where the + # code can write and read files. + # 'sourceroot' => 'bk:/some/repository/here', + # The name to display for this source tree 'sourcerootname' => 'Example', + + # Any parameters to the source access method should be specified below + 'sourceparams' => {'cachepath' => '/a/path/here'}, # The DBI identifier for the database to use # For mysql, the format is dbi:mysql:dbname=<name> |