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 ,
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
source share