我想克隆我的后半段回购。它使用以下命令正确工作:
git-p4 clone --detect-branches //depot@all因此,我想运行如下所示,但是它不以相同的方式导入文件,最终失败了:
git-p4 clone --detect-branches //depot@2000,3000如何才能使第二种方法正确工作?
Update:我现在得到的输出是p4陷入无限循环:
current change 32688
trying: earliest latest 6135ce72f69ce262a6237c98da9ffee652be8b03
Reading pipe: git rev-list --bisect 6135ce72f69ce262a6237c98da9ffee652be8b03
Reading pipe: git cat-file commit 6135ce72f69ce262a6237c98da9ffee652be8b03发布于 2012-08-15 23:24:46
好的,我的主要问题是我不正确地转换了起始版本号。
我的客户说明:
View:
//depot/main... //HOST/main...
//depot/dev... //HOST/dev/...
//depot/patch... //HOST/patch...而命令:
git p4 clone --verbose --use-client-spec --detect-branches //depot@32668,#head repo现在,我唯一的问题是回购中的分支在直接树后缀有分支名称:
main/file1.txt
dev/file1.txt
patch/file1.txt,它现在起作用了。我更新了git-p4脚本的版本(v1.7.12-rc3-4-g91e4bfe)来修复这个问题。如果可以的话,我会尝试 推入主线 ,如果我能为其他人做同样的事情,
https://stackoverflow.com/questions/11959920
复制相似问题