"Clements Mark" <cleme...@ofac.ch> writes:

> Hi,
>
> Knut: thanks, that explains it!
>
> The index creation logs say
>
> 258 11:35:20,583 org.opensolaris.opengrok.index.Indexer  INFO: Done...
> 259 11:35:20,584 org.opensolaris.opengrok.index.Indexer  INFO: Generating 
> history cache for all repositories ...
> 301 11:35:20,626 org.opensolaris.opengrok  INFO: Create historycache for 
> /BUILD/spool/test/opengrok/src/HEAD (CVSRepository)
> 302 11:35:20,627 org.opensolaris.opengrok  INFO: Creating historycache for 
> /BUILD/spool/test/opengrok/src/HEAD took (1ms)
> 354 11:35:20,679 org.opensolaris.opengrok.index.Indexer  INFO: Done...
> 355 11:35:20,680 org.opensolaris.opengrok.index.Indexer  INFO: Starting 
> indexing
> 611 11:35:20,936 org.opensolaris.opengrok  INFO: Create historycache for 
> /BUILD/spool/test/opengrok/src/HEAD (CVSRepository)
> 611 11:35:20,936 org.opensolaris.opengrok  INFO: Creating historycache for 
> /BUILD/spool/test/opengrok/src/HEAD took (0ms)
> 665 11:35:20,990 org.opensolaris.opengrok.index.IndexDatabase  INFO: Counting 
> files in /HEAD ...
>
> Which implies that the historycache *will* be used. Could the log messages 
> display something like 
>
> historycache not active for CVS repositories
>
> instead? Would make it a bit clearer :)

Good idea! I pushed a fix that adds a log message if the cache creation
is skipped for a repository:

12:57:10 INFO: Generating history cache for all repositories ...
12:57:10 INFO: Create historycache for /export/home/tmp/opengrok/src/svntest 
(SubversionRepository)
12:57:10 INFO: Create historycache for /export/home/tmp/opengrok/src/cvstest 
(CVSRepository)
12:57:10 INFO: Skipping creation of history cache for 
/export/home/tmp/opengrok/src/cvstest, since retrieval of history for 
directories is not implemented for this repository type.
12:57:10 INFO: Creating historycache for /export/home/tmp/opengrok/src/cvstest 
took (3ms)
12:57:15 INFO: Creating historycache for /export/home/tmp/opengrok/src/svntest 
took (5672ms)
12:57:15 INFO: Done...

-- 
Knut Anders
_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

Reply via email to