2

を使用して、「scaffold」という git ブランチを正常に作成しましたgit-p4.py clone

Perforce の最新の変更を git ブランチに同期したいので、試しgit-p4.py sync --branch=scaffoldていますが、次の出力だけが発生します。

Syncing with origin first, using "git fetch origin"
Creating/updating branch(es) in refs/remotes/p4/ based on origin branch(es)
Performing incremental import into scaffold git branch
Depot paths: //depot/depot/path/to/code/
No changes to import!

その後、git statusと言うnothing to commit (working directory clean)

これを機能させるにはどうすればよいですか?

4

1 に答える 1

0

fast-import failedデスクトップでは次のように動作しましたが、Jenkinsでは失敗します。

git checkout scaffold
git p4 sync --branch=scaffold //depot/path/to/code/...@all
git push ssh://git@example.com:7999/repository/project.git +remotes/p4/scaffold:scaffold
于 2013-11-12T18:21:09.277 に答える