mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-01 11:14:55 +00:00
(vc-cvs-after-dir-status, vc-cvs-parse-status): Detect
removed files.
This commit is contained in:
parent
d6f47dff59
commit
874f31a6f0
@ -1,5 +1,8 @@
|
||||
2008-03-24 Dan Nicolaescu <dann@ics.uci.edu>
|
||||
|
||||
* vc-cvs.el (vc-cvs-after-dir-status, vc-cvs-parse-status): Detect
|
||||
removed files.
|
||||
|
||||
* vc.el (vc-status-printer): Use a different face for missing files.
|
||||
(vc-status-hide-up-to-date): Rename from
|
||||
vc-status-remove-up-to-date. Update all callers.
|
||||
|
@ -855,6 +855,7 @@ state."
|
||||
((string-match "Needs Merge" status) 'needs-merge)
|
||||
((string-match "Needs \\(Checkout\\|Patch\\)" status) 'needs-patch)
|
||||
((string-match "Locally Added" status) 'added)
|
||||
((string-match "Locally Removed" status) 'removed)
|
||||
(t 'edited))))))))
|
||||
|
||||
(defun vc-cvs-dir-state-heuristic (dir)
|
||||
@ -916,6 +917,7 @@ state."
|
||||
((string-match "Needs \\(Checkout\\|Patch\\)" status-str)
|
||||
'needs-patch)
|
||||
((string-match "Locally Added" status-str) 'added)
|
||||
((string-match "Locally Removed" status-str) 'removed)
|
||||
(t 'edited)))
|
||||
(unless (eq status 'up-to-date)
|
||||
(push (cons file status) result))))))
|
||||
|
Loading…
Reference in New Issue
Block a user