Re: Exporting only changed files from CVS
Hello Jonathan, * On Wed, Jun 09, 2004 at 07:33:17PM -0700 Jonathan Hurshman wrote: I am relatively new to CVS, having used Source Safe and StarTeam in the past. I am using CVS to track web development projects. I would like to be able to export from CVS into a directory where a non-CVS version of the application already resides, and have CVS only update new or changed files. Is this even possible? My approach (I assume there are only text files, that is, files that can be used with patch): Whenever you make the non-CVS version, make sure you make a tag in your CVS. For example, I assume the last non-CVS-version is tagged rel_1. Now, if you want to generate a new one, run the following: $ cd CVS-version of your project $ # I assume you already have committed every change $ cvs tag rel_2 # make the tag for the next upgrade $ cd non-CVS version of your files $ cvs rdiff -uN -r rel_1 -r rel_2 cvsmodulename|patch -p1 After this, your non-CVS version should be up-to-date BEWARE! Make a dry run before doing that on the production server! Futhermore, you might want to put the rdiff into a separate file before applying patch. HTH, Spiro. -- Spiro R. Trikaliotis http://www.trikaliotis.net/ http://www.viceteam.org/ ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
Re: Exporting only changed files from CVS
Jonathan Hurshman [EMAIL PROTECTED] writes: I am relatively new to CVS, having used Source Safe and StarTeam in the past. I am using CVS to track web development projects. I would like to be able to export from CVS into a directory where a non-CVS version of the application already resides, and have CVS only update new or changed files. Is this even possible? Two options are, i) do a fresh cvs export into a new directory each time (takes care of any issues with deleted files or directories). ii) use cvs update on a checked out directory tree and configure the webserver, rsync or whatever you use to update the live site to ignore the CVS directories. -- Brian Gough Network Theory Ltd, Publishing the CVS Reference Manual --- http://www.network-theory.co.uk/ ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
Exporting only changed files from CVS
Hello everyone, I am relatively new to CVS, having used Source Safe and StarTeam in the past. I am using CVS to track web development projects. I would like to be able to export from CVS into a directory where a non-CVS version of the application already resides, and have CVS only update new or changed files. Is this even possible? I thought cvs export might do this, but it complains that the existing files are in the way. If what I'm asking for can't be done with CVS, I'd be glad to hear best practices for how to deploy new releases of web applications out of CVS (hosted on IIS, if that matters). - Jonathan __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs