info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Merging II - Why do new files not get merged?


From: Euan Guttridge
Subject: RE: Merging II - Why do new files not get merged?
Date: Tue, 26 Nov 2002 17:02:19 -0000

Thanks, that works..

-----Original Message-----
From: Karl-König Königsson [mailto:address@hidden
Sent: 26 November 2002 13:08
To: Euan Guttridge
Cc: address@hidden
Subject: Re: Merging II - Why do new files not get merged?


Euan Guttridge wrote:

> I am trying to merge a branch with a tagged set of files. All works 
> well except the newly created files in tag1 are not included in the 
> merge, only existing files are merged. Please advise, thanks.

I expect that you have created a revision tag, i.e., you have tagged a 
specific set of  files. If it was a branch tag, then I realise that you 
would expect the merge to work, but a revision tag is a different beast. 
For a merge to work in such a case you have to first create and add a 
file, and then tag it with your tag:

    touch foo.bar
    cvs add foo.bar
    cvs ci foo.bar
    cvs tag tag1 foo.bar

Now, if you do a "cvs co -r tag1 module1" the newly created file will 
appear.

    Karl-Koenig Koenigsson

-- 
LIFF (n.) 
A book, the contents of which are totally belied by its cover. For instance,

any book the dust jacket of which bears the words. 'This book will change
your 
life'. 
(The Meaning of Liff, Douglas Adams)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]