Another Perforce importer for git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Description: Binary data

Attachment: git-p4-import.windows-bat
Description: Binary data


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]