[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS commit and skipping directories

From: Andrew Robinson
Subject: CVS commit and skipping directories
Date: Mon, 24 Jun 2002 14:42:32 -0600

I have a project that contains several directories for code written in Java.

The directory structure looks something like this:

I have files in the '/build' directory that I have files in CVS. The classes
directory, however has no files in CVS and is rebuilt all the time, so the
"CVS" directories are deleted by an ANT script if they are in the classes

Now, lets say I have made changes to files in several directories, and would
like to commit them at the same time. So I issue the following:

d:\development\project\cvs commit -m "some message"

cvs commit: Examining .
cvs commit: Examining build
cvs commit: Examining build/classes
cvs commit: in directory build/classes:
cvs [commit aborted]: there is no version here; do 'cvs checkout' first

As you can see it is attempting to commit the "build/classes" directory,
which doesn't have the "CVS" directory since it was deleted and re-built
after my initial import.

Is there a way to do this? I hate having to run the commit in every
directory and then run 'cvs commit -l -m "message"' in the build directory
separately to stop the recursive searching.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]