[p4] creating/linking projects

Dave Lewis dlewis at vignette.com
Thu Jan 27 08:42:13 PST 2000


  > not in the context that I need.
  > 
  > p4 sync will pull all the files and sub folders from the root directory you
  > are syncing from. 

No, that is not correct.  It will sync all the files defined in the client
mappings.  In order to get the behavior you describe, you must limit
p4 sync by specifying a set of files, like "p4 sync ..."  that will then
make sync work relative to your current location.  A bare "p4 sync"  will
bring your whole client up to date.



What I need is to be able to do a sync on multiple folders
  > that are off of the main development tree:
  > 
  > root:
  > //depot/Development/...
  > 	 /proj1
  > 	 /proj2
  > 	 /proj3
  > 	 /proj4
  > 	 /proj...
  > 
  > 	I want to be able to sync such that when I pull proj2, proj1 and
  > proj4 also get sync'd "automatically". VSS allowed creations of folder links
  > that composed a project, when pulling the designated project folder all
  > linked folders - from any/all locations on the tree - would also be sync'd
  > to the client. Due to our architecture it is not possible to arrange all
  > needed folders under a single root project - most of our directories are
  > shared modules for other projects...
  > 	
  > 		hope this clears things up. Thanks, -Yaron.
 
I do not know what it means to "pull proj2", but perhaps you must need to include
those other folders in your client mapping.

//depot/Development/...
//depot/proj1/...
//depot/proj2/...
etc.


dave




More information about the perforce-user mailing list