Closed Bug 316289 Opened 19 years ago Closed 19 years ago

cvsview2.cgi problems due to new cvs version

Categories

(Webtools Graveyard :: Bonsai, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kairo, Assigned: timeless)

Details

Attachments

(2 files, 1 obsolete file)

Newer CVS versions add commitid identifiers into their RCS files, and cvsview2.cgi chokes on those, just displaying error messages.

Example of what I see on a directory:
-------
Unexpected parsing error in RCS file .
Expected token: date, but saw: 26904377525b4567
-------

Example of a single file:
-------
Unexpected parsing error in RCS file /usr/local/cvsroot/com/php/include/util/com_database.php-class,v.
Expected token: date, but saw: 5c7943663c364567
-------

I'm seeing this on a private bonsai installation combined with
Concurrent Versions System (CVS) 1.12.12 (client/server)

If someone wants to check this stuff in detail, sp. writing a patch for it, I can give some insight like the URL where I'm seeing this, maybe the RCS file for that file above privately, I just don't want to link this installation to the wide public.
cvslog.cgi shows the same error, cvsblame.cgi displays a "500 Server Error", I guess the same problem is hidden behind it.
if you could upload a random ,v file from 1.12 with a few records, that'd be helpful (create it just for this purpose...)
OK, I'm attaching two very small example ,v files here. Both are robots.txt files with the same content, so they should be easy to view :)
This first one has been created with an older CVS version and now I've done an empty forced checkin with the new version that adds this "commitid".
Everyone who upgrades CVS some time will end up with such a mixture...
This second file (robots2.txt,v) has been created and updated with the newer CVS version.
(Note that it was not part of the initial import of the dir but added later, that why the 1.1.1.1 stuff might be missing...)
just as a side note, the second file is from a different repository as well, if you might spot further unrelated inconsistencies between the files :)
Attached patch handle commitid (obsolete) — Splinter Review
Assignee: tara → timeless
Status: NEW → ASSIGNED
Attachment #202960 - Flags: review?(kairo)
Comment on attachment 202960 [details] [diff] [review]
handle commitid

thanks, this works like a charm on my installation :)
Attachment #202960 - Flags: review?(kairo) → review+
Comment on attachment 202960 [details] [diff] [review]
handle commitid

mozilla/webtools/bonsai/cvsblame.pl 	1.16
Attachment #202960 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: