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?
发布评论
评论(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 ;-)