[p4] How to make a clientspec which syncs only to a given tag
Weintraub, David
david.weintraub at bofasecurities.com
Wed Aug 23 06:13:52 PDT 2006
Okay, that's another way of setting yourself up, but, as a forcing
function, it really is the equivalent of two separate clients.
Imagine that you have two separate clients:
Client: client-branch1
Root: C:\p4clients\myproj\BRANCH-1
View:
//depot/myproj/BRANCH-1/... //client-branch1/...
And
Client: client-branch2
Root: C:\p4clients\myproj\BRANCH-2
View:
//depot/myproj/BRANCH-2/... //client-branch2/...
Now, imagine you have a single client for both branches:
Client: client-myproj
Root: C:\p4clients\myproj
View:
//depot/myproj/... //client-myproj/...
In both situations, to switch from one branch to another requires you to
switch from directory C:\myproj\BRANCH-1 to directory
C:\myproj\BRANCH-2. It is hard to accidentally switch branches without
meaning to. Actually, that's the way we work here. It makes doing
integrations much easier since you have both branches in a single
client.
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Ivey, William
Sent: Tuesday, August 22, 2006 4:07 PM
To: Perforce Users
Subject: Re: [p4] How to make a clientspec which syncs only to a given
tag
> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com]On Behalf Of Weintraub,
> David
>
> If I want to change branches, I have to either physically redefine my
> Perforce client or use another Perforce client.
Or, none of the above. I work on three or four branches in any given
week, usually two during a day, and the only thing I do is cd to a
different directory. My client views contain wild cards so different
branches have different corresponding local directories. Local storage
is cheap.
Or am I missing something?
-Wm
_______________________________________________
perforce-user mailing list - perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
More information about the perforce-user
mailing list