* 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:
parent
6c3758972c
commit
a8fbf9a3b1
1 changed files with 2 additions and 0 deletions
2
vc-p4.el
2
vc-p4.el
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue