开发者

Perforce - Generate patch after sync

I would like to reserve a 'snapshot' after Perforce sync. Rather than applying sync to all directory tree, I would like to generate a patch file. I will apply manually and checking if the result (after compiling and running 开发者_开发技巧simple test cases) satisfies. I am going to do sync officially if result is OK. If it is NG, I can revert to previous 'snapshot' and continue without hard steps of rolling-back.

I can rely on 'patch' since it supports 'undo'. Telling perforce not to sync but to generate patch, how can I do that?

I appreciate if you can guide me how to automate via script. The steps on p4v is OK.

Regards, Toan Le


As mike and raven suggested, those are good points.

But also you can use branching strategies - make your source code into 2 branches. one for test branch and one for release branch. but here you will have to work on integration/merging as well. best would be to validate your check in perforce using any CI tools (such as hudson, curisecontrol) as part of incremental build and running all the required test cases automated.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜