How do I make the perforce command line view the same as the P4Win view
I've written some python tool开发者_如何学Gos which work with the p4 command line to work on files I have opened in P4Win. However it seems like the p4 view can become different to the P4Win view. I'm not quite sure how to make them the same.
Maybe by 'view' you mean client workspace? In which case the workspace selected by P4Win and p4 command-line are independent.
You need to use p4 set
to select the same workspace for command-line as you've selected for P4Win.
精彩评论