* vc-p4.el (vc-p4-state): Mark new files as added.

[git-p4: depot-paths = "//guest/Ben_Key/vc-p4/,//guest/jonathan_kamens/vc-p4/,//guest/magnus_henoch/vc-p4/": change = 7742]
This commit is contained in:
Magnus Henoch 2010-08-09 09:58:53 -08:00
parent 508d650136
commit 015a4a67dc

View file

@ -144,7 +144,7 @@ compare non-open files to the depot version."
(if (string-match " by \\([^@]+\\)@" opened) (if (string-match " by \\([^@]+\\)@" opened)
(match-string 1 opened) (match-string 1 opened)
(if (equal headRev haveRev) (if (equal headRev haveRev)
'edited (if (string= action "add") 'added 'edited)
'needs-merge)))) 'needs-merge))))
((and (file-exists-p file) ((and (file-exists-p file)
(not dont-compare-nonopened) (not dont-compare-nonopened)