Package: viewcvs Version: 0.9.2+cvs.1.0.dev.2004.07.28-4 Severity: important
Hello ! Viewcvs fails to parse properly the output from rcs commands for the recent (1:1.12.13-1) CVS format, which leads to several problems: * the files with a recent commit (of the new version) don't show up in the repository. ViewCVS says that they are here but don't match our criteria, even if no criteria have been selected. The following patch seems to fix it: --- viewcvs-0.9.2+cvs.1.0.dev.2004.07.28.orig/lib/vclib/bincvs/__init__.py +++ viewcvs-0.9.2+cvs.1.0.dev.2004.07.28/lib/vclib/bincvs/__init__.py @@ -586,7 +586,8 @@ _re_log_info = re.compile(r'^date:\s+([^;]+);' r'\s+author:\s+([^;]+);' r'\s+state:\s+([^;]+);' - r'(\s+lines:\s+([0-9\s+-]+))?\n$') + r'(\s+lines:\s+([0-9\s+-]+))?' + r'(\s*;?\s*commitid:\s+\w+)?\n$') ### _re_rev should be updated to extract the "locked" flag _re_rev = re.compile(r'^revision\s+([0-9.]+).*') def _parse_log_entry(fp): * when I try to make a diff in a recent file, I get the following output: Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/viewcvs/viewcvs.py", line 3235, in main request.run_viewcvs() File "/usr/lib/python2.3/site-packages/viewcvs/viewcvs.py", line 360, in run_viewcvs self.view_func(self) File "/usr/lib/python2.3/site-packages/viewcvs/viewcvs.py", line 2471, in view_diff fp = request.repos.rcs_popen('rcsdiff', args, 'rt') AttributeError: CCVSRepository instance has no attribute 'rcs_popen' I did set the severity to important since it definitely decreases a lot the usability of the package. Thanks for considering this report Vincent Fourmond -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.16-vince Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C) Versions of packages viewcvs depends on: ii cvs 1:1.12.13-2 Concurrent Versions System ii debconf 1.5.1 Debian configuration management sy ii mime-support 3.36-1 MIME files 'mime.types' & 'mailcap ii python 2.3.5-5 An interactive high-level object-o ii rcs 5.7-18 The GNU Revision Control System ii subversion 1.3.2-1 advanced version control system (a Versions of packages viewcvs recommends: ii apache2-mpm-prefork [httpd] 2.0.55-4 traditional model for Apache2 ii enscript 1.6.4-9 Converts ASCII text to Postscript, -- debconf information excluded -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]