[cvsnt] Re: cvs server: warning: new-born newfile.txt has disappeared

Matt Schuckmann matt at schuckmannacres.com
Mon Sep 19 16:50:03 BST 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Bo if you remember Tony added a "-r" option to the add command a few 
months ago so that you can add a file directly to a branch without 
having to update the entire directory to the branch.

In my opinion what he is doing makes perfect sense and it should work. 
This is very similar to the way we worked at my previous company.

By only branching the changed files it makes it easy to update 
everything else. Yes you do lose the state of the repository at the 
point you created the branch(es) but that is not always important to 
everybody.

Matt S.

Bo Berglund wrote:
> On Fri, 16 Sep 2005 13:02:20 -0300, Daniel Lapolla
> <ldlapolla at yahoo.com> wrote:
> 
> 
>>>Can you describe exactly what you're doing?
>>
>>Imagine that developer 1, working on CR 12345 creates the branch 
>>br_cr_12345 on files A and B, and adds C directly in that branch.
> 
> 
> How is this done? If youi have a new file in a sandbox that is updated
> to HEAD then any file you add and commit will be added to TRUNK and
> not to the branch of the few files you actually have located on the
> branch.
> Imagine the following:
> 
> You have a sandbox on HEAD.
> Now you branch files 1, 2 and 3 to br_xxx and update these files to
> retrieve the branch. The remainder of the sandbox is at HEAD.
> 
> Then you branch files 4, 5 and 6 to br_yyy and update these files to
> retrieve the branch. Now you have 3 files on br_xxx, 3 files on br_yyy
> and the remainedr on HEAD.
> 
> Now you cvs add a new file.
> What is CVS supposed to do in this case? Add it to br_xxx or to br_yyy
> or to TRUNK? In my view CVS as only one way to know what to do and
> this is when you have updated the sandbox *directory* to the branch,
> then CVS reco´rds this in the CVS metadata and it will add the new
> file to the branch.
> 
> Is this what you are doing?
> If not then I don't see how you can get the new file to the branch at
> all.
> 
> 
> /Bo
> (Bo Berglund, developer in Sweden)



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook