info-cvs
[Top][All Lists]
Advanced

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

RE: Replacing the head revision


From: Jim.Hyslop
Subject: RE: Replacing the head revision
Date: Tue, 20 Jan 2004 11:19:00 -0500

Alexander von Below [mailto:address@hidden wrote:
> this may be a newbie Q, so I apologize, but my reading of the 
> Cederqvist did not help me...
> 
> I got a modified copy of my source back.
> 
> Now I want to replace me head revision with this code.
> 
> As I had troubles understanding versioning, my current code is in the 
> branch VER_1-bt. I have (manually) updated this branch to the new 
> source.
First, are you absolutely certain that you do *not* want to merge this file?
Copying a file from a branch to a trunk is an unusual action.

cvs update -A filename
cvs update -p -r VER_1-bt filename > filename

should do it.

Make sure you understand what the above commands do before you use them.

-- 
Jim Hyslop 
Senior Software Designer 
Leitch Technology International Inc. (<http://www.leitch.com/>) 
Columnist, C/C++ Users Journal (<http://www.cuj.com/experts>) 





reply via email to

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