[cvsnt] help resurrecting branch revisions

KNELL, Steve, FM Steve.KNELL at rbos.com
Thu Feb 5 10:14:57 GMT 2004

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.


I've managed to resurrect removed files from the trunk using the following

	cvs update -j1.3 -j1.2 <filename>

to undo the "remove".

This seems to move the file from the Attic back into the main directory ok.

But I can't get this technique to work for branches.

If I create a branch revision and then cvs remove the branch revision, the
,v file remains in the main directory (i.e. doesn't get moved the Attic, cos
it's still on the HEAD) - the only change is that the branch revision state
is changed to "Dead" (this appears as "FILE REMOVED" in ViewCVS).

I've found that I can resurrect this removed branch by editting the ,v file
directly and replacing the "Dead" state with "Exp".

Does anyone know if this is safe?

Or perhaps there's a better way?

Thanks in advance,
> Steve Knell
> Credit Risk IT
> 280 Bishopsgate, London EC2M 4RB
> Tel: 020 7334 1743
> Mobile: 0770 945 9384
> mail to: Steve.Knell at rbos.com

The Royal Bank of Scotland plc. Registered in Scotland No 90312.       Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB.                                      
Authorised and regulated by the Financial Services Authority     
This e-mail message is confidential and for use by the                      
addressee only. If the message is received by anyone other             
than the addressee, please return the message to the sender          
by replying to it and then delete the message from your                    
computer. Internet e-mails are not necessarily secure. The               
Royal Bank of Scotland plc does not accept responsibility for          
changes made to this message after it was sent.                              
Whilst all reasonable care has been taken to avoid the                   
transmission of viruses, it is the responsibility of the recipient to        
ensure that the onward transmission, opening or use of this             
message and any attachments will not adversely affect its               
systems or data.  No responsibility is accepted by The Royal           
Bank of Scotland plc in this regard and the recipient should carry   
out such virus and other checks as it considers appropriate.           
                                                                                                               Visit our websites at:                                                                          

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