diff options
| author | Stefan Monnier | 2001-09-22 20:22:34 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2001-09-22 20:22:34 +0000 |
| commit | 2f8e4caba76753ea1b01d04147409d120f6fbd5f (patch) | |
| tree | 7daff222e4f903e152acf522d66486242690f2af | |
| parent | d455f4f7a97251609c503d8f3250fe883d689069 (diff) | |
| download | emacs-2f8e4caba76753ea1b01d04147409d120f6fbd5f.tar.gz emacs-2f8e4caba76753ea1b01d04147409d120f6fbd5f.zip | |
(cvs-parse-commit): Remove the temp files used by VC.
| -rw-r--r-- | lisp/pcvs-parse.el | 17 |
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$")))) |