Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
750 views
in Technique[技术] by (71.8m points)

migration - ERROR : While Migrating from Perforce to GIT

I'm are working on migration from Perforce to GIT using GIT-p4.py script. After configuring the tool and while cloning the source code from Perforce to local Git repo using command git p4 Clone //depotpath@all in WINDOWS we are facing the error shown below in snippet. Can anyone please suggest me what's going wrong.

C:LocalGIT>git p4 clone //perforceDepotPath@all . --verbose
Importing from //perforceDepotPath@all into .
Reinitialized existing Git repository in C:/GITREPO/.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']
Getting p4 changes for //perforceDepotPath/...
Opening pipe: ['p4', '-r', '3', '-G', 'changes', '-m', '1']
Opening pipe: ['p4', '-r', '3', '-G', 'changes', '//perforceDepotPath@1,1233121']
Traceback (most recent call last):
 File "C:Program FilesGitingit-p4.py", line 4438, in <module>
   main()
 File "C:Program FilesGitingit-p4.py", line 4432, in main
   if not cmd.run(args):
 File "C:Program FilesGitingit-p4.py", line 4184, in run
   if not P4Sync.run(self, depotPaths):
 File "C:Program FilesGitingit-p4.py", line 4052, in run
   self.importRevisions(args, branch_arg_given)
 File "C:Program FilesGitingit-p4.py", line 3800, in importRevisions
   changes = p4ChangesForPaths(self.depotPaths, self.changeRange, self.changes_block_size)
 File "C:Program FilesGitingit-p4.py", line 1155, in p4ChangesForPaths
   die('Error retrieving changes description ({0})'.format(e.p4ExitCode))
 File "C:Program FilesGitingit-p4.py", line 156, in die
   raise Exception(msg)
Exception: Error retrieving changes description (1) ```

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...