[p4] cvs2p4 and multiple archives

Roger Day roger.day at globalgraphics.com
Wed Oct 25 05:31:49 PDT 2006


I'm doing an import of efffective multiple archives. There are roughly 
4000 archives. The method that I've advocated is a post-merge of the 
archives, one at a time. However, someone has suggested modifying the 
cvs2p4 script. Is it as easy as, for example, changing this line in 
dochanges:

if (! open(DBMETA, ">$DBmeta"))
  { print "$Myname: can't open \"$DBmeta\": $!\n"; exit 1; }

to

if (! open(DBMETA, ">>$DBmeta"))
  { print "$Myname: can't open \"$DBmeta\": $!\n"; exit 1; }

Or are there more issues here?

Roger


More information about the perforce-user mailing list