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

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



   git-p4    ( 1 )

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

DEPOT PATH SYNTAX

The p4 depot path argument to git p4 sync and git p4 clone can be one or more space-separated p4 depot paths, with an optional p4 revision specifier on the end:

"//depot/my/project" Import one commit with all files in the #head change under that tree.

"//depot/my/project@all" Import one commit for each change in the history of that depot path.

"//depot/my/project@1,6" Import only changes 1 through 6.

"//depot/proj1@all //depot/proj2@all" Import all changes from both named depot paths into a single repository. Only files below these directories are included. There is not a subdirectory in Git for each "proj1" and "proj2". You must use the --destination option when specifying more than one depot path. The revision specifier must be specified identically on each depot path. If there are files in the depot paths with the same name, the path with the most recently updated version of the file is the one that appears in Git.

See p4 help revisions for the full syntax of p4 revision specifiers.