From a8fbf9a3b15be59f55e3eaa099e7b5fcf65bdcda Mon Sep 17 00:00:00 2001 From: Magnus Henoch Date: Mon, 9 Aug 2010 07:53:27 -0800 Subject: [PATCH] * 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] --- vc-p4.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vc-p4.el b/vc-p4.el index 9d0b479..2a626bb 100644 --- a/vc-p4.el +++ b/vc-p4.el @@ -137,6 +137,8 @@ compare non-open files to the depot version." (headAction (cdr (assoc "headAction" alist))) (state (cond + ((string= action "delete") + 'removed) (action (let ((opened (p4-lowlevel-opened file))) (if (string-match " by \\([^@]+\\)@" opened)