LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 05-28-2009, 07:43 PM   #1
ShaqDiesel
Member
 
Registered: Jul 2005
Posts: 144

Rep: Reputation: 15
cvs commit error


cvs add cvsnotes.txt is fine. then i do cvs commit cvsnotes.txt and get cvs commit: failed to create lock directory for /cvs/cvsnotes.txt /cvs/cvsnotes.txt/#.cvs.lock) no such file or directory.


on a related note, what is the difference between add and import?
 
Old 05-28-2009, 08:01 PM   #2
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,530

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by ShaqDiesel View Post
what is the difference between add and import?
'import' adds all files from an existing directory (and subdirs) at once to CVS. Use this when you have a project already and want to start using CVS with it. Then move (or delete) the directory out of the way, or go to another directory and do a checkout to have a CVS working copy you can work on using CVS. You can then start using it.

IIRC you could also 'add' all the files one-by-one instead of doing an 'import', and then do the checkout. 'import' is merely a convenience thing to start using CVS on an existing project.

Last edited by Hko; 05-28-2009 at 08:03 PM.
 
Old 05-28-2009, 08:33 PM   #3
ShaqDiesel
Member
 
Registered: Jul 2005
Posts: 144

Original Poster
Rep: Reputation: 15
thanks do you know why im getting an error trying to add a file into the repository?
 
Old 05-28-2009, 09:06 PM   #4
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
This link should help:
http://haacked.com/archive/2005/05/04/2949.aspx
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
cvs [commit aborted]: 'root' is not allowed to commit files r_ramya06 Linux - Newbie 5 07-08-2008 10:04 AM
CVS: cna't commit - says file is locked by someone who hasn't worked here for years BrianK Programming 2 06-27-2006 09:31 PM
cvs - require comments on commit Ratclaws Linux - Software 1 09-14-2005 02:38 AM
emailing on cvs commit allan_y Linux - Software 2 07-02-2004 10:30 AM
emailing people when cvs commit is done allan_y Linux - Software 1 05-28-2004 04:48 AM


All times are GMT -5. The time now is 08:09 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration