LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Excluding Directoris from cvs (https://www.linuxquestions.org/questions/linux-newbie-8/excluding-directoris-from-cvs-913417/)

bonnydeal 11-14-2011 03:30 AM

Excluding Directoris from cvs
 
I have some project source files placed in cvs.
After I run make, some new directories are created.

Now when I try 'cvs commit' or 'cvs diff', the command aborts because the new directories are not in cvs.

I have tried putting the directory names in .cvsignore, but to no avail.

I don't want to add these directories to cvs as they are generated from the source.

Is there any way around this?

Thanks in advance,
Paul

theNbomr 11-14-2011 03:28 PM

How did your source files get 'placed in cvs'? It sounds like there is some misconfiguration of your sandbox. What happens if you try to commit specific source files, rather than a generic commit?

--- rod.

bonnydeal 11-16-2011 05:26 AM

they were added with 'cvs add ...'
 
I just added a subdirectory to an existing repository.

The makefile in the subdirectory, though, creates a new directory. It is this new directory that causes cvs commit, and cvs diff to complain.

At the moment I just have to remember to remove the directory generated by make before doing any cvs commits.


All times are GMT -5. The time now is 11:54 PM.