Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 05-28-2009, 06:43 PM   #1
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, 07:01 PM   #2
Senior Member
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,530

Rep: Reputation: 110Reputation: 110
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 07:03 PM.
Old 05-28-2009, 07:33 PM   #3
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, 08:06 PM   #4
LQ Guru
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
This link should help:


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 09: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 08:31 PM
cvs - require comments on commit Ratclaws Linux - Software 1 09-14-2005 01:38 AM
emailing on cvs commit allan_y Linux - Software 2 07-02-2004 09:30 AM
emailing people when cvs commit is done allan_y Linux - Software 1 05-28-2004 03:48 AM

All times are GMT -5. The time now is 04:31 PM.

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