admin管理员组文章数量:1336357
I'm trying to perform git p4 clone but it doesn't seem to work
git p4 clone -v //path/to/my/depot/branches/mybranch
Importing from //path/to/my/depot/branches/mybranch into my-branch
Reinitialized existing Git repository in /Users/<user>/Projects/my-branch/.git/
Reading pipe: git config --bool git-p4.useclientspec
Reading pipe: git config git-p4.user
Reading pipe: git config git-p4.password
Reading pipe: git config git-p4.port
Reading pipe: git config git-p4.host
Reading pipe: git config git-p4.client
Reading pipe: git config --int git-p4.retries
Reading pipe: git config --int git-p4.retries
Opening pipe: p4 -r 3 -G login -s
Opening pipe: p4 -r 3 -G login -s
Doing initial import of //path/to/my/depot/branches/mybranch from revision #head into refs/remotes/p4/master
Opening pipe: p4 -r 3 -G files //path/to/my/depot/branches/mybranch...#head
....
// gets stuck here forever
Perforce client error:
TCP receive failed.
read: socket: Operation timed out
p4 returned an error: TCP receive failed.
read: socket: Operation timed out
Before this, I performed
p4 login
Enter password:
User <User> logged in.
my ~/.zshrc
file has entries like
export P4USER=<username>
export P4PASS=<password>
export P4PORT=perforce:1666
export P4HOST=MBP-<username>.local
executing the p4
command standalone without the -G flag works
p4 files //path/to/my/depot/branches/mybranch...#head
However with the -G flag the command doesn't work.
I'm using MacOS 15.1 with Python 3.9.6
本文标签: perforcegit p4 clone get stuck at the p4 G files stepStack Overflow
版权声明:本文标题:perforce - git p4 clone get stuck at the p4 -G files step - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742381350a2464155.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论