I'm looking for a script which takes a working copy of a CVS module, performs any necessary "cvs add" and "cvs remove" commands, and commits everything. The end result is that the repository copy becomes exactly like the working copy.
I think I've seen something like this before, but I couldn't find it on Google. Does anyone have a similar script that they've used? I know I can run "cvs -nq update" and parse the results myself, and that's what I'll probably end up doing. But CVS has all sorts of weird edge cases, so I'd like to find an already-tested script if it exists.