Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   git-p4    ( 1 )

импорт из репозиториев Perforce и отправка в них (Import from and submit to Perforce repositories)

Детали реализации (Implementation details)

• Changesets from p4 are imported using Git fast-import.

• Cloning or syncing does not require a p4 client; file contents are collected using p4 print.

• Submitting requires a p4 client, which is not in the same location as the Git repository. Patches are applied, one at a time, to this p4 client and submitted from there.

• Each commit imported by git p4 has a line at the end of the log message indicating the p4 depot location and change number. This line is used by later git p4 sync operations to know which p4 changes are new.