git-p4

Getting the whole files history with git-p4

ぐ巨炮叔叔 提交于 2019-11-27 12:24:13
问题 As I've mentioned in a previous question, I'm looking into migrating our source control from Perforce to git. Looking around, I've found git-p4 (you have to dig a bit more, since it's not even at the repository pointed by the link. The actual git-p4 script harder to find). I'm now running this script, and it imports the current version of the files in a new git repository, but I can't manage to get the history, no matter what I do. Here's the current command line I use is: P4CLIENT=my-p4

Extending `git-p4` clientspec after initial clone

ぃ、小莉子 提交于 2019-11-27 02:25:23
问题 After doing a git-p4 clone --use-clientspec , I would like to add an extra entry to the clientspec, and import the current state of the added entry to my Git repository. After I extend the clientspec, a git-p4 rebase does nothing (probably because there was no new relevant changelist since the last committed change, all I did was update the clientspec) I tried doing a git-p4 sync --use-client-spec , but this complains that fast-import failed because the new tip does not contain my initial