[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
vc-next-action delete files from ready-for-commit incorectly
From: |
Alex Harsanyi |
Subject: |
vc-next-action delete files from ready-for-commit incorectly |
Date: |
Fri, 25 Jul 2008 17:15:16 +0800 |
Hi,
Before commiting a fileset, `vc-next-action' will revert all the
unchanged files form the changeset and remove them from the `read-for-
commmit' list. Unfortunately it uses the `delete' function
incorrectly, leaving the reverted file in the list if it is the first
one. The patch below contains a fix for the problem:
--- vc.el 25 Jul 2008 17:08:11 +0800 1.698
+++ vc.el 25 Jul 2008 17:10:35 +0800
@@ -1085,7 +1085,7 @@ merge in the changes into your working c
;; finishing the log entry and committing.
(not (and visited (buffer-modified-p))))
(vc-revert-file file)
- (delete file ready-for-commit)))))
+ (setq ready-for-commit (delete file ready-for-commit))))))
;; Remaining files need to be committed
(if (not ready-for-commit)
(message "No files remain to be committed")
Best Regards,
Alex.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- vc-next-action delete files from ready-for-commit incorectly,
Alex Harsanyi <=