[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


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.


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 cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
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 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



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook