As I understand, the files which have conflicts and are resolved manually , will be shown as "edit" when we invoke the p4 resolved command.
Format:- - -** edit **from
However, for the same DB, for my colleague, its being shown as "merge" for the same file.
Note: The Data base versions which we have taken are of the same version. No discrepancies there.
Can you please let me know on the possible reasons for the same ?
Tried checking online for possible reasons, but couldn't find an answer.
p4 resolvedshows information for files opened in the current workspace only (remember that any number of workspaces can have the same depot file open for different pending actions), so if you and your colleague have the same file opened in two different workspaces, it is likely to be in two different states, unless you did everything exactly the same. Changes are generally not synchronized between different workspaces until one of themsubmits their local file and the othersyncs it.edit fromdoesn't necessarily mean a manual resolve. A manual resolve might be also be recorded ascopy,merge, orignoreif the result of the manual resolve is identical to the existing files matching those results (copyis the "theirs" file,ignoreis "yours" i.e. the original workspace file, andmergedis the auto-generated merge result).Conversely, an automatic resolve can be "downgraded" to an
editin a variety of situations, such as:p4 edit)It is also possible to forcibly record a
merge fromfor something that's actually anedit fromat the time you resolve; I think you can only do this from the command line, and it looks like this:Note that the suggested option was
ae(accept edit) but I overrode it witham; the CLI prompts to confirm that's what I wanted to do, but if I say yes, it'll go ahead and record it as amerge.Separately from that, there are situations where different clients might show different output for the same resolve/integrate records, although I don't think that would be the case for
mergedvsedit-- you'd more typically see this in a case where a very old client renders a newer record type likemoved fromorundidasaddorignorefor backward compatibility purposes.