[cvsnt] How do I automate cvs add to run recursively in cvsnt command line

Mike Wake mike.wake at thales-tts.com
Thu Feb 24 18:18:47 GMT 2005


G'day Brook,

You could try extracting the essence of the WinCVS python script and 
re-coding into a non-interactive form.

Take a look at
C:\Program Files\GNU\WinCvs 1.3\Macros\RecursiveAddTk.py

Cheers
Mikew

Brook Hurd wrote:
> I have used CVS in multiple Linux environments.  It is easy using the
> 'find' command to add files recursively via CVS.  Unfortunately, I have
> not found an equivalent in the Windows DOS environment.  I know that
> tools like Tortoise and WinCVS have scripts build in to allow you to do
> this.  I have been using these tools successfully for years.  I want to
> create a simple bat file that will accomplish this automatically.  
> 
> All it needs to do is the following:
> 
> 1.  Recursively add all new files and folders in a given tree.
> 2.  Commit all updated and added files.
> 
> Once this bat file is created I can schedule it to run on a daily basis.
> Step 2 is easy, Step 1 is the problem.  
> 
> How can I get this to work in a windows environment?  
> 
> Has anyone written a command line cvs recursive add script for cvsnt?
> 
> Help,
> 
> Brook Hurd
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt



More information about the cvsnt mailing list