From: Mike N. <mh...@us...> - 2003-03-14 17:01:47
|
On Fri, 2003-03-14 at 08:33, ad...@tu... wrote: > Bringing up old school stuff...I am updating some stuff in the > build_phpws.sh file and I was going to add your diff to the file. I just > have a couple of questions. Adam, I hope I'm able to answer them. :) > Is this command a checkout or an export? > > cvs $REMOTE -q ex -r"$TAG" phpwebsite export = exp = ex > If it's an export, I'm not sure this method will work in this particular > script since it is meant to build the most recent cvs copy of phpwebsite, > themes, and modules with the expectation that the developer will be > updating that code and later commit it. Then I misinterpreted the intent of the script. An export contains no CVS control files, and is not a functional working copy of the repository module. > And will the developer be protected from checking out from a particular > tag point and then later commiting their code and accidentally having old > code from that tag point overwrite new code that is most recent in cvs? A developer wont be able to use an export to commit changes. It's not a working copy. > Also what does the tag 'HEAD' mean? :) HEAD is a "symbolic tag" usually associated with the most recent version of all files in a repository module. The other way to export the most current files from a cvs module is to use date with timezone. The timezone is necessary because cvs assumes local TZ when performing operations. Obviously this can lead to exports that are up to 24 hours old. I use the following string for date exports: DATE=`date '+%Y-%m-%d %T %Z'` -- Mike Noyes <mhnoyes @ users.sourceforge.net> http://sourceforge.net/users/mhnoyes/ http://leaf-project.org/ http://sitedocs.sf.net/ http://ffl.sf.net/ |