* vc-p4.el (vc-p4-state): Don't compare non-existent files.

[git-p4: depot-paths = "//guest/Ben_Key/vc-p4/,//guest/jonathan_kamens/vc-p4/,//guest/magnus_henoch/vc-p4/": change = 7741]
This commit is contained in:
Magnus Henoch 2010-08-09 08:46:04 -08:00
parent 0cfe10cab9
commit 508d650136

View file

@ -146,7 +146,8 @@ compare non-open files to the depot version."
(if (equal headRev haveRev)
'edited
'needs-merge))))
((and (not dont-compare-nonopened)
((and (file-exists-p file)
(not dont-compare-nonopened)
(p4-lowlevel-diff-s file "e"))
'unlocked-changes)
((or