LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-14-2011, 03:30 AM   #1
bonnydeal
Member
 
Registered: Feb 2006
Posts: 47

Rep: Reputation: 29
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
 
Old 11-14-2011, 03:28 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
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.
 
Old 11-16-2011, 05:26 AM   #3
bonnydeal
Member
 
Registered: Feb 2006
Posts: 47

Original Poster
Rep: Reputation: 29
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How can i share cvs user home directory to all users of cvs jsaravana87 Linux - Server 18 10-25-2011 09:26 AM
How to setup CVS server in Fedora11 and CVS client in Windows Xp? smh Linux - Server 1 09-12-2009 05:05 AM
How to setup CVS server in Fedora7 and CVS client in Windows Xp? yashavanth_kumar Linux - Newbie 2 01-28-2008 08:48 PM
cvs repository cvs-1.11.21.tar.gz installation problem on redhat 5 linux version ajaytiwary Linux - Newbie 1 09-30-2007 12:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration