OpenGrok trying to use RCSRepository to retrieve past revisions of files in CVS #3926
-
Hi, I'm not sure if it's a bug or a misconfiguration on our side. We indexed a CVS-checked out tree with CVS repository on the same box. Indexing went file, we can see files contents (xref) and even History. /etc/opengrok/configuration.xml shows that OpenGrok recognized the repository as CVS. But when we click any older revision in the History, for any file, we're getting "Error reading file" page, and Tomcat shows errors like below, which seems to indicate that in this case OpenGrok is trying to use RCSRepository to pull older revisions. What could be the reason? This is opengrok-1.7.30.
Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Is this because CVSRepository doesn't define a getHistoryGet(OutputStream out, String parent, String base, String rev)? So RCSRepository::getHistoryGet() ends up being called instead? |
Beta Was this translation helpful? Give feedback.
-
Added public boolean getHistoryGet(OutputStream out, String parent, String basename, String rev) to CVSRepository.java, and that did the trick. Thanks. |
Beta Was this translation helpful? Give feedback.
Is this because CVSRepository doesn't define a getHistoryGet(OutputStream out, String parent, String base, String rev)? So RCSRepository::getHistoryGet() ends up being called instead?