Mercurial > emacs
comparison lisp/vc-cvs.el @ 93118:01d3fd1a2cfe
* vc-hg.el (vc-hg-state):
* vc-git.el (vc-git-state):
* vc-cvs.el (vc-cvs-parse-status):
* vc-bzr.el (vc-bzr-state): Return 'added when the file is in that
state.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Fri, 21 Mar 2008 05:53:48 +0000 |
parents | 12326ccb66d6 |
children | 97c5b398eee4 |
comparison
equal
deleted
inserted
replaced
93117:87f463ae1530 | 93118:01d3fd1a2cfe |
---|---|
858 (nth 5 (file-attributes file))) | 858 (nth 5 (file-attributes file))) |
859 'up-to-date) | 859 'up-to-date) |
860 ((string-match "Locally Modified" status) 'edited) | 860 ((string-match "Locally Modified" status) 'edited) |
861 ((string-match "Needs Merge" status) 'needs-merge) | 861 ((string-match "Needs Merge" status) 'needs-merge) |
862 ((string-match "Needs \\(Checkout\\|Patch\\)" status) 'needs-patch) | 862 ((string-match "Needs \\(Checkout\\|Patch\\)" status) 'needs-patch) |
863 ((string-match "Locally Added" status) 'added) | |
863 (t 'edited)))))))) | 864 (t 'edited)))))))) |
864 | 865 |
865 (defun vc-cvs-dir-state-heuristic (dir) | 866 (defun vc-cvs-dir-state-heuristic (dir) |
866 "Find the CVS state of all files in DIR, using only local information." | 867 "Find the CVS state of all files in DIR, using only local information." |
867 (with-temp-buffer | 868 (with-temp-buffer |