tags:

views:

246

answers:

1

I've written some python tools 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.

+2  A: 

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.

Douglas Leeder
Thanks! Yeah, that's what I needed, to use p4 set to make the port the same, as I switched servers in p4win and expected it to magically do the same at the command line. p4 set P4PORT=yourserver:yourport
justinhj