Re: [viewvc-users] cvsdbadmin does not parse commits
Amit Uttamchandani <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Mar 01, 2011 at 12:31:14PM -0800, C. Michael Pilato wrote: > On 02/23/2011 07:55 PM, Amit Uttamchandani wrote: > > Set up ViewVC 1.1.9 on a Debian Squeeze system successfully. However, > > running cvsdbadmin produces "0 commits" for all the files. I have RCS > > installed from the debian repo. > > > > Also, if *use_rcsparse* is used then the commits are parsed correctly. > > > > Is there something different in the RCS that debian uses? > > > > Thanks, > > Amit > > This is certainly unexpected. cvsdbadmin works as expected on my Ubuntu > 10.10 system, which has the distribution's RCS 5.7 installed. Now, in > fairness, my CVS repositories (which only exist so that I can test ViewVC) > were probably generated with older versions of CVS. Maybe your repositories > were created by more recent CVS versions which don't write the RCS ,v > backing files the same way that ViewVC expects? I dunno. > Thanks for the response. I figured out the problem. It was a misconfiguration of the viewvc.conf. I had enabled the *cvsnt* option and had it pointing to */usr/bin/cvs*. Now, the server had GNU CVS installed and not cvsnt. After disabling this option, viewvc successfully used RCS to parse the log information. > If you have a ,v file that contains innocuous, non-private information in > it, I'd be more than happy to try to reproduce the problem you are seeing on > my machine here and debug it. > Right now, rlog parses most ,v files correctly. However, ",v" files that have the *filename* directive with an underscore value do not get parsed. For example: 1.3 date 2010.04.22.18.51.57; author amit; state Exp; branches; next 1.2; deltatype text; kopt kv; permissions 666; commitid 1de44bd09aa755be; filename APP_MAIN.C; Removing the line that contains filename allows RCS to parse this file. It seems as if the *filename* is a CVSNT specific syntax and is not valid RCS. Thanks, Amit ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2709122 To unsubscribe from this discussion, e-mail: [[email protected]].