3 messages in com.perforce.perforce-user[p4] Multiple appearances?
FromSent OnAttachments
Stephen Vance17 Aug 1999 17:45 
Richard Geiger17 Aug 1999 19:00 
Pascal Menoud17 Aug 1999 22:54 
Subject:[p4] Multiple appearances?
From:Richard Geiger (rm@netapp.com)
Date:08/17/1999 07:00:00 PM
List:com.perforce.perforce-user

Is it possible to have a set of files in depot map to more than one directory in the client?

Here is what I am trying to do. I have a directory that contains release reports for each version of code we release. I want this included in the source, but I also want it in a central location in my client.

Example:

/work/cogorno: rel1 rel2 rel3 main releases

I want the reports to appear in the releases directory as well as where they actually reside (inside main and the rel branches).

I tried modifying my client to include the following view:

//depot/main/src/releases/... //cogorno/releases/... //depot/main/... //cogorno/main/... //depot/rel7/... //cogorno/rel7/... //depot/rel8fcs/... //cogorno/rel8fcs/... //depot/rel8r1/... //cogorno/rel8r1/...

This didn't appear to have any effect. Short of branching, are there any suggestions you all might have?

Try flipping the order thusly:

//depot/main/... //cogorno/main/... //depot/main/src/releases/... //cogorno/releases/... //depot/rel7/... //cogorno/rel7/... //depot/rel8fcs/... //cogorno/rel8fcs/... //depot/rel8r1/... //cogorno/rel8r1/...

(Do do be aware that everything in //depot/main/src/releases/... will be mapped into //cogorno/releases/..., and will no longer appear in //cogorno/main/releases/...

Also, that there could be be collisions if you do this for each of the branches, i.e.,

//depot/main/... //cogorno/main/... //depot/main/src/releases/... //cogorno/releases/... //depot/rel7/... //cogorno/rel7/... //depot/rel7/src/releases/... //cogorno/releases/... //depot/rel8fcs/... //cogorno/rel8fcs/... //depot/rel8/src/releases/... //cogorno/releases/... //depot/rel8r1/... //cogorno/rel8r1/... //depot/rel8r1/src/releases/... //cogorno/releases/...

aand there you have a file by the same name in each "releases" dir.

Better might be to have a separate client workspace for your consolidated view.

I.e., you'd still have:

//depot/main/... //cogorno/main/... //depot/rel7/... //cogorno/rel7/... //depot/rel8fcs/... //cogorno/rel8fcs/... //depot/rel8r1/... //cogorno/rel8r1/...

And, in a second client workspace, perhaps:

//depot/main/src/releases/... //cogorno2/main/ //depot/rel7/src/releases/... //cogorno2/rel7/... //depot/rel8/src/releases/... //cogorno2/rel8/... //depot/rel8r1/src/releases/... //cogorno2/rel8r1/...

We tend to use *lots* of client workspaces in the way we work; developers typically own one workspace per codelines they are working in, and might sometime have multiple workspaces of a single codeline, with differenet changes.

E.g., right now, I own 31 of the little devils:

rmg $ p4 clients | grep rmg: | wc 31 253 2703

and overal on this server we have 1720 of 'em:

rmg $ p4 clients | wc 1720 12949 150164