Moving to perforce

NeilRussellcaret at c-side.com NeilRussellcaret at c-side.com
Sun Dec 21 23:38:32 PST 1997


On Sun, Dec 21, 1997 at 05:25:18PM +0000, nickp at aperture.com wrote:
> I'm not sure, but I believe you can use the 'C4'
> command in a similar way under Unix. 

Actually, I wrote C4 to allow me to have a client that had all files
writable, so I could change files adhoc and have C4 figure what had
happened, like CVS does.  It turns out that there are only a few changes
to get C4 to do "make the depot look like this".  I will release an updated
version of C4 (version 1.1) in the next few weeks that will allow you
to do something like:

	p4 get		- Get all files into a client (make "have" right)
	rm -rf ...	- Remove the client
	cpio ...	- Replace the client with another tree
	c4 update -ad	- Do any "p4 add", "p4 edit" and "p4 delete"
			  commands to make the depot look like the new
			  tree.
	p4 submit	- Submit.

This will be used to help convert the several gigabytes of RCS'd source
code we have at Auspex Systems into a several hundred megabyte (hopefully)
P4 depot.

- -- 
Neil Russell
caret at c-side.com





More information about the perforce-user mailing list