如何获取用于仓库历史记录中特定集成的分支规范?
P4V 的仓库视图显示各个分支及其路径,但不显示分支名称。 分支规范(或分支映射)包含分支的“名称”。
假设用户 X 在过去某个时间使用分支映射 M 将代码从分支 A 分支到分支 B。
- 有没有办法询问特定变更列表使用了哪个分支映射?
- 如果删除了分支映射,(1)还可以吗?
P4V's depot view shows the various branches and their paths, but not the branch names.
The branch spec (or branch mapping) contains the "name" of the branch.
Let's assume that user X has branched code from branch A to branch B using a branch mapping M some time in the past.
- Is there a way to ask perforce which branch mapping was used for that specific changelist?
- Is (1) still possible if the branch mapping has been deleted?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为这是不可能的。
在集成过程中,分支映射只是一个快捷方式:选择源后,只需选择一个分支映射,然后根据
源+分支映射
计算目标。如果没有分支映射,您将必须输入目标的完整路径。您可以通过查看日志内部或检查点来检查为集成而保留的信息。
在仓库视图中,我不会说你看到的是树枝,你看到的是一棵树;这是您的用法或命名约定使您在此视图中看到分支;-)
I think it's not possible.
During the integration, the branch mapping is just a shortcut: after picking a source, you just pick a branch mapping, and the target is computed from
source + branch mapping
. Without the branch mapping, you would have to enter the complete path of the target.You can check the information which is kept for an integration by looking inside the journal, or in a checkpoint.
In the depot view, I wouldn't say that you see branches, you see a tree; it's your usage, or naming conventions which make you see branches in this view ;-)