* vc-p4.el (vc-p4-state): Mark file as `removed' if action is "delete".

[git-p4: depot-paths = "//guest/Ben_Key/vc-p4/,//guest/jonathan_kamens/vc-p4/,//guest/magnus_henoch/vc-p4/": change = 7738]
This commit is contained in:
Magnus Henoch 2010-08-09 07:53:27 -08:00
parent 6c3758972c
commit a8fbf9a3b1

View file

@ -137,6 +137,8 @@ compare non-open files to the depot version."
(headAction (cdr (assoc "headAction" alist))) (headAction (cdr (assoc "headAction" alist)))
(state (state
(cond (cond
((string= action "delete")
'removed)
(action (action
(let ((opened (p4-lowlevel-opened file))) (let ((opened (p4-lowlevel-opened file)))
(if (string-match " by \\([^@]+\\)@" opened) (if (string-match " by \\([^@]+\\)@" opened)