perforce: how to propogate unsubmitted changes
I have made some changes in one perforce client, but haven't submitted them. I want to propagate these 开发者_StackOverflow社区changes to another perforce client, without submitting the changes in the first client.
Is it possible? If yes how? Thanks
You cannot do this from within Perforce itself. You will need to perform a manual process:
- sync and resolve any conflicts with the changes on Client A
- sync Client B
- check out target files on Client B
- copy files from Client A to Client B
This process could be automated by using commands like p4 changes
and p4 describe
and OS tools to parse the output (like for
in DOS), but this would be overkill in most cases.
check out the new shelving feature in the perforce 9.2 release (currently available in beta)- you can cache your modified files on the server, without having to check them in as a versioned change.
http://blog.perforce.com/blog/?p=1872
Although I didn't work with git-p4, the answer to this question seems to refer to your use case as well: git-p4 and pulling from other repos
精彩评论