[cvsnt] Problem merging file added on HEAD into a branch

Gerhard Fiedler lists at connectionbrazil.com
Thu Jul 19 15:24:09 BST 2007


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.


Bartolomeo Nicolotti wrote:

> I've added a file to the HEAD trunk with other changes that I wanted to
> merge into a branch, so I committed everything on the HEAD, switched to
> the branch and did:
> 
> ...
> cvs update -j HEAD addedfile.txt
> ...
> 
> Then doing cvs -n update it correctly gave
> 
> ...
> A addedfile.txt
> ...
> 
> but when I tried to commit the added file in the branch cvs gave the error
> 
> Conflict, the file addedfile.txt was already added.

Not sure, but what happens when you now update the branch? Does it stay or
does it go away? If it stays, the merge somehow already marked the file as
now being on the branch, without an actual commit on the branch.

Gerhard


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