I am using "git-p4" script for migration from p4 to GIT. clone operation is failing due to large number of change list (about 5 million). So I am trying to perform incremental import operation: I tried to clone for first run then sync operation. I tested with small changes list.
First run:
git p4 clone //depot/f1/f2/f3/ere@17888479,17918050 -v
Second run:
git p4 sync //depot/f1/f2/f3/ere@17918051,17918064 -v
Error:
Traceback (most recent call last):
File "C:\Program Files\Git\mingw64/libexec/git-core\git-p4", line 3677, in <module>
main()
File "C:\Program Files\Git\mingw64/libexec/git-core\git-p4", line 3671, in main
if not cmd.run(args):
File "C:\Program Files\Git\mingw64/libexec/git-core\git-p4", line 3429, in run
die("fast-import failed: %s" % self.gitError.read())
File "C:\Program Files\Git\mingw64/libexec/git-core\git-p4", line 122, in die
raise Exception(msg)
Exception: fast-import failed: warning: Not updating refs/remotes/p4/master (new tip 85c94d84335bb1441a7f959b384729b2a4d633f4 does not contain 3222bdc29799d1fe5fff91c36524481b1469f1d9)