What's the representation of point in time in Perforce

后端 未结 1 1710
隐瞒了意图╮
隐瞒了意图╮ 2021-01-25 21:06

A git commit hash represents the project at a specific time, what\'s the equivalent concept (a \"thing\" that represent a snapshot of the entire repo at a particular time) in Pe

相关标签:
1条回答
  • 2021-01-25 21:24

    The submitted changelist number in Perforce serves the same purpose as a commit hash in git in terms of being a version specifier that applies across the entire repository.

    Compared to the commit hash, changelist numbers also have the advantage of being comparable (submissions are required to be in order, with changelists being "renumbered" at submit time if necessary to preserve this property).

    Date/timestamps can also be used as a revision specifier in most contexts where a changelist number or label can be used. A timestamp is essentially an alias for the changelist most recently submitted at that point in time.

    0 讨论(0)
提交回复
热议问题