git-p4를 사용하여 perforce에서 git을 설정하는 데 문제가 있습니다. 이 훌륭한 블로그 게시물 (http://owenou.com/2011/03/23/git-up-perforce-with-git-p4.html)에서 모든 단계를 완료 한 후 로컬 파일 저장소에 새 파일을 추가하거나 기존 파일을 수정하려고합니다. 리베이스하려고 할 때git p4 저장소 경로 오류
내가 얻을 :
$git-p4 rebase
Traceback (most recent call last):
File "/home/user/bin/git-p4", line 2362, in <module>
main()
File "/home/user/bin/git-p4", line 2357, in main
if not cmd.run(args):
File "/home/user/bin/git-p4", line 2051, in run
sync.run([])
File "/home/user/bin/git-p4", line 2004, in run
changes = self.p4.p4ChangesForPaths(self.depotPaths, self.changeRange)
File "/home/user/bin/git-p4", line 232, in p4ChangesForPaths
assert depotPaths
AssertionError
자식에 대한 변경을 커밋하고 P4 저장소에 변경 사항을 추진해야하는
git p4 submit --verbose
를 실행 한 후, I 출력의 65534 개 라인을 얻을 :
Reading pipe: git notes --ref=git-p4 show HEAD~1
Reading pipe: git notes --ref=git-p4 show HEAD~2
[...]
Reading pipe: git notes --ref=git-p4 show HEAD~65534
Traceback (most recent call last):
File "/home/wgorski/opt/git-p4/git-p4", line 2754, in <module>
main()
File "/home/wgorski/opt/git-p4/git-p4", line 2749, in main
if not cmd.run(args):
File "/home/wgorski/opt/git-p4/git-p4", line 1125, in run
self.depotPath = settings['depot-paths'][0]
KeyError: 'depot-paths'
변경 사항은 p4 저장소로 푸시되지 않습니다.