[p4] Stopping notepad popup of tmp files while running change and other commands.

raysid perforce-user-forum at forums.perforce.com
Mon Apr 20 23:30:01 PDT 2015

Posted on behalf of forum user 'raysid'.

Ok. I am too believing that it would be easier for X and Y to have their on
separate workspaces.

One more thing, once a new client workspace is created on a login and its stream
is defined using " p4 client -S //XYZ/JKH -o | p4 client -i" and then
after the user's work, the user logs off. My doubt is, for the next time
when this user logs in and wants to use his newly created workspace without
changing the stream, does this user needs to give or call any command for
connecting to the stream defined earlier, or since the copy of workspace at the
depot is already associated with the stream, so no such stream information is
required before using the workspace for 2nd run/use? - Part 1.

If at all the user wants to change the stream, then he can use switch stream
using  "  p4 client -s -S XYZ " kind of command right? With the case
that files open for edit should be either submitted or reverted. In this case
following order can be fine I believe;

1.p4  set  P4CLIENT =[ clientname ]
2.p4 client  - s  - S  [ streamname ]
3.p4 sync

For files open for edit, how to treat them, perform a revert before step 2 for
the changes which can be undone, perform submit for files which can be submitted
before step 2 and finally perform step 2? In the last case if he wants to force
the switch without deciding on submit/revert, can step 2 be called with a force
-f option? How? And what would be its implications? - Part 2.

Please ans the two part situations.

Please click here to see the post in its original format:

More information about the perforce-user mailing list