[cvsnt] add or delete files in directory 'as is' in the sandbox

Mike Wake mike.wake at thales-tts.com
Tue Mar 23 14:55:09 GMT 2004


Hi Markus,

There is a macro to do the "cvs add" and optionally auto-commit in 
WinCVS.  It gives you the ability to ignore files and also select the 
"binaryness" of the file.

This might not be what your after but the visualisation of whats going 
on may be helpful and taking a look at the guts of the python script 
that does it may be instructive.

Click on the sandbox directory below which you want to recursively add
In the menu go to
Macros->CVS->Recursive Add(auto-commit)

For the delete/remove you could try:-
View->Flat mode
View->File Filter->Show Missing
highlight the missing files
Modify->Remove
Modify->Commit

Cheers
Mikew

Markus Kuehni wrote:

>Hi
>
>is there a cvs command/command sequence that recursively traverses a
>directory in a sandbox and performs a "cvs add" on all new files (according
>to cvsignore settings) and a "cvs delete" on files that are no longer
>present in the sandbox? 
>
>Or do I really need to write my own script/tool for that?
>
>Thanks for all hints,
>Mark
>
>
>_______________________________________________
>cvsnt mailing list
>cvsnt at cvsnt.org
>http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
>  
>



More information about the cvsnt mailing list