# HG changeset patch # User Stefan Monnier # Date 1097604096 0 # Node ID c6d72c23a10688c6b5d764f71f9ed6d9de88cc36 # Parent 5e9a3ecb68cb2dec3b6d094c17e473d2f8f621f5 (cvs-parse-commit): Fix parsing for new commit message. diff -r 5e9a3ecb68cb -r c6d72c23a106 lisp/pcvs-parse.el --- a/lisp/pcvs-parse.el Tue Oct 12 17:23:25 2004 +0000 +++ b/lisp/pcvs-parse.el Tue Oct 12 18:01:36 2004 +0000 @@ -511,15 +511,19 @@ (cvs-match "new revision: \\([0-9.]*\\); previous revision: .*$" (subtype 'COMMITTED) (base-rev 1))) (cvs-or (cvs-match "done$") t) + ;; In cvs-1.12.9 commit messages have been changed and became + ;; ambiguous. More specifically, the `path' above is not given. + ;; We assume here that in future releases the corresponding info will + ;; be put into `file'. (progn ;; Try to remove the temp files used by VC. - (vc-delete-automatic-version-backups (expand-file-name path)) + (vc-delete-automatic-version-backups (expand-file-name (or path file))) ;; it's important here not to rely on the default directory management ;; because `cvs commit' might begin by a series of Examining messages ;; so the processing of the actual checkin messages might begin with ;; a `current-dir' set to something different from "" (cvs-parsed-fileinfo (cons 'UP-TO-DATE subtype) - (or path file) (if path 'trust) + (or path file) 'trust :base-rev base-rev))) ;; useless message added before the actual addition: ignored