How git-p4 clone from the middle of perforce repression?

I would like to clone the second half of my repo. It works correctly using the command:

git-p4 clone --detect-branches // depot@all 

So, I want to run something like below, but it does not import the files in the same way and ultimately fails:

 git-p4 clone --detect-branches // depot@2000 ,3000 

How can I make the second method work correctly?

Refresh . The output I'm getting right now is that p4 is stuck in an infinite loop:

 current change 32688 trying: earliest latest 6135ce72f69ce262a6237c98da9ffee652be8b03 Reading pipe: git rev-list --bisect 6135ce72f69ce262a6237c98da9ffee652be8b03 Reading pipe: git cat-file commit 6135ce72f69ce262a6237c98da9ffee652be8b03 
+4
source share
1 answer

Well, my main problem was that I incorrectly translated the start version number.

My customer specification:

  View: //depot/main... //HOST/main... //depot/dev... //HOST/dev/... //depot/patch... //HOST/patch... 

and command:

 git p4 clone --verbose --use-client-spec --detect-branches // depot@32668 ,#head repo 

Now, the only problem that I encountered is branches in the repo, have a branch name prefixing directly to the tree:

 main/file1.txt dev/file1.txt patch/file1.txt 

Now it works. I updated my version of git -p4 script (v1.7.12-rc3-4-g91e4bfe) to fix this. I will try to click on mainline if I can for someone else trying to do the same

+2
source

All Articles