[Kfwdev] cvs/svn export vs checkout

Jeffrey Altman jaltman at secure-endpoints.com
Fri Apr 20 10:22:49 EDT 2007


The build scripts currently support three repository modes: checkout,
update, or skip.  The scripts perform the checkout and then go to a lot
of effort to prune the .cvs and .svn directories.  Tom reminded us a
couple of days ago that both cvs and svn support the "export" command. 
The "export" command obtains all of the sources for the specified
revision but does not create the .cvs or .svn directories.  Using
"export" instead of "checkout" makes sense for the release builds as it
would reduce the amount of data that must be written to, searched, and
deleted. 

There are two restrictions when using "export". First, a tag or branch
name must be specified.  Otherwise, the export will fail.  It is also
required that the destination directory of the svn export not exist. 
Otherwise, the export will fail.

Kevin, if you agree that this is a worthwhile modification, you can find
copies of your scripts which have been modified to support "export" in 
~jaltman/Public/KFW/bkw

Jeffrey Altman
Secure Endpoints Inc.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3355 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mailman.mit.edu/pipermail/kfwdev/attachments/20070420/c33252df/attachment.bin


More information about the kfwdev mailing list