[p4] How to make a clientspec which syncs only to a given tag
Ivey, William
william_ivey at bmc.com
Wed Aug 23 09:02:17 PDT 2006
> it really is the equivalent of two separate clients.
Except that I don't need to maintain multiple clients, or worry
about which one I am using. (Also, p4win doesn't play well with
the P4CONFIG files so auto switching isn't useful there - or
hasn't been, I don't know if that's been improved lately.)
Also, since my client spec has some "quirks" in it, I'd have to
make sure those were all properly duplicated. More work than I
like. -Wm
> -----Original Message-----
> From: Weintraub, David [mailto:david.weintraub at bofasecurities.com]
> Sent: Wednesday, August 23, 2006 8:14 AM
> To: Ivey, William; Perforce Users
> Subject: RE: [p4] How to make a clientspec which syncs only to a given
> tag
>
>
> 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