aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2001-09-22 20:22:34 +0000
committerStefan Monnier2001-09-22 20:22:34 +0000
commit2f8e4caba76753ea1b01d04147409d120f6fbd5f (patch)
tree7daff222e4f903e152acf522d66486242690f2af
parentd455f4f7a97251609c503d8f3250fe883d689069 (diff)
downloademacs-2f8e4caba76753ea1b01d04147409d120f6fbd5f.tar.gz
emacs-2f8e4caba76753ea1b01d04147409d120f6fbd5f.zip
(cvs-parse-commit): Remove the temp files used by VC.
-rw-r--r--lisp/pcvs-parse.el17
1 files changed, 10 insertions, 7 deletions
diff --git a/lisp/pcvs-parse.el b/lisp/pcvs-parse.el
index fae7f9fe446..7199bd005d8 100644
--- a/lisp/pcvs-parse.el
+++ b/lisp/pcvs-parse.el
@@ -4,7 +4,7 @@
4 4
5;; Author: Stefan Monnier <monnier@cs.yale.edu> 5;; Author: Stefan Monnier <monnier@cs.yale.edu>
6;; Keywords: pcl-cvs 6;; Keywords: pcl-cvs
7;; Revision: $Id: pcvs-parse.el,v 1.7 2001/04/13 14:55:48 monnier Exp $ 7;; Revision: $Id: pcvs-parse.el,v 1.8 2001/07/16 07:46:48 pj Exp $
8 8
9;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
10 10
@@ -484,12 +484,15 @@ The remaining KEYS are passed directly to `cvs-create-fileinfo'."
484 (cvs-match "new revision: \\([0-9.]*\\); previous revision: .*$" 484 (cvs-match "new revision: \\([0-9.]*\\); previous revision: .*$"
485 (subtype 'COMMITTED) (base-rev 1))) 485 (subtype 'COMMITTED) (base-rev 1)))
486 (cvs-match "done$") 486 (cvs-match "done$")
487 ;; it's important here not to rely on the default directory management 487 (progn
488 ;; because `cvs commit' might begin by a series of Examining messages 488 ;; Try to remove the temp files used by VC.
489 ;; so the processing of the actual checkin messages might begin with 489 (vc-delete-automatic-version-backups path)
490 ;; a `current-dir' set to something different from "" 490 ;; it's important here not to rely on the default directory management
491 (cvs-parsed-fileinfo (cons 'UP-TO-DATE subtype) path 'trust 491 ;; because `cvs commit' might begin by a series of Examining messages
492 :base-rev base-rev)) 492 ;; so the processing of the actual checkin messages might begin with
493 ;; a `current-dir' set to something different from ""
494 (cvs-parsed-fileinfo (cons 'UP-TO-DATE subtype) path 'trust
495 :base-rev base-rev)))
493 496
494 ;; useless message added before the actual addition: ignored 497 ;; useless message added before the actual addition: ignored
495 (cvs-match "RCS file: .*\ndone$")))) 498 (cvs-match "RCS file: .*\ndone$"))))