Perforce中时间点的表示是什么 [英] What's the representation of point in time in Perforce

查看:70
本文介绍了Perforce中时间点的表示是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

git commit哈希表示特定时间的项目,Perforce中的等效概念(表示特定时间整个仓库的快照的事物")是什么?

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 Perforce?

推荐答案

Perforce中提交的变更列表编号与git中的提交哈希具有相同的作用,因为它是适用于整个存储库的版本说明符.

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.

这篇关于Perforce中时间点的表示是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆