[Issue 261] New - duplicate LogHistory w arning in multi-root pserver
[email protected] 27 Jul 2005 13:33:50 -0000
| Newsgroups | gmane.comp.version-control.cvs.issuezilla |
|---|---|
| Message-ID | <[email protected]> |
https://ccvs.cvshome.org/issues/show_bug.cgi?id=261
Issue #|261
Summary|duplicate LogHistory warning in multi-root pserver
Component|ccvs
Version|1.12.12
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|server
Assigned to|issues@ccvs
Reported by|rwoehler
------- Additional comments from [email protected] Wed Jul 27 06:33:49 -0700 2005 -------
If I set LogHistory in the cvs config files in a multi-root pserver installation
to anything but "all" every client operation aborts with "warning: duplicate
LogHistory entry found".
The problem is "static int gotone" in parseinfo.c, since the config file is read
for every root listed with the --allow-root command line option. The "gotone"
first appears in parseinfo.c 1.72.
Removing the "static" and moving the declaration to the top of parse_config()
fixed it (tested on Sparc Solaris 2.8, "make check" completes successfully).
However, having several "LogHistory=all" entries along with a single "other"
LogHistory entry is not considered an error.