Alex Riesen | 14 Aug 15:04 2006

Another Perforce importer for git

Just in case someone might ever need this: it imports
a _synced_ state into git repo. IOW, you sync down
the files as you were commanded (it's corporal, umm...
corporate, remember?) and run the script to create
a commit for you. You still have to run git-commit manually,
but don't have to pass "-a" to it (which can be dangerous,
and does not pick up the files recently added to p4 repo).

For the poor souls unlucky enough to be in windows
environment, a .bat is attached, too.

P4 has a better interoperability with python, so rewriting this
script in Python maybe a good idea.
Attachment (git-p4-import.perl): application/octet-stream, 6897 bytes
Attachment ( application/octet-stream, 7015 bytes