RE: Always ADD necessary (the first time) before COMMITs ?

Rez P <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
Yes, you have to add new files and folders before committing them.  You have introduced new subfolder structure under an existing project, it's easier to use the import command which combines both add and commit into one step but your new subfolder structure cannot contain existing files, if it does, you have to do add and commit subsequently.
 
> From: [email protected]
> To: [email protected]
> Date: Wed, 9 Dec 2009 20:05:40 +0100
> Subject: Always ADD necessary (the first time) before COMMITs ?
> 
> Assume I want to put new files into an existing remote CVS repository project.
> 
> I check out the project (=copying the existing files to the local hard disc).
> Then I copy additional files to this local CVS directory.
> 
> How do I transfer/store these new files now to the remote repository as well?
> 
> Simply committing seems not to be enough (as far as I understand).
> Because COMMIT only stores already existing files from local directory into repository.
> 
> So do I really have to ADD all new files the first time before COMMITing them later?
> 
> Ben
> 
> 
> 
> 
 		 	   		  
_________________________________________________________________
Windows Live Hotmail is faster and more secure than ever.
http://www.microsoft.com/windows/windowslive/hotmail_bl1/hotmail_bl1.aspx?ocid=PID23879::T:WLMTAGL:ON:WL:en-ww:WM_IMHM_1:092009
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.