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

Brook Hurd brookh at PerlmanArchitects.com
Thu Feb 24 18:35:18 GMT 2005


I was looking at that script trying to see if I could use it in anyway.
Unfortunately, I have no experience in writing or executing Python.  Are
there any pointers you can give?


Brook Hurd

-----Original Message-----
From: Mike Wake [mailto:mike.wake at thales-tts.com] 
Sent: Thursday, February 24, 2005 10:19 AM
To: Brook Hurd
Cc: cvsnt at cvsnt.org
Subject: Re: [cvsnt] How do I automate cvs add to run recursively in
cvsnt command line

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