Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
You should use this (in a batch file): if EXIST Modules rmdir /s /q Modules cvs -r export -r HEAD Modules cvs export will never overwrite existing files so you have to remove the old files first, for example by removing the directory itself as I suggested above. In our production build process we manage everything through batch scripts that export files from CVS like you apparently are trying to do. But our commands look like this (translated to your situation): if EXIST ExportFolder rmdir /s /q ExportFolder set CVSROOT=:sspi:cvs_setup:password at cvsserver:/Repo cvs export -r HEAD -d ExportFolder ModuleToExport We set the CVSROOT env variable once in the script because we have many cvs commands inside the scripts. /Bo -----Original Message----- From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf Of Wolfmaier Klaus Sent: den 6 februari 2004 10:25 To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook Subject: [cvsnt] Export of Repository Hi I try to do an export to a specified location periodically (cvs -r -d CVSROOT export -r HEAD Modules) The first time, the export works fine. Unfortunately, when I do the export of the repository a second time to the same location, changes in the repository are not reflected. Has anybody any hints what I am doing wrong here? I am using CVSNT Version 2.0.9 on W2K Server Klaus _______________________________________________ cvsnt mailing list cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs