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