[cvsnt] Re: Looking at an old version of a file

Oliver Giesen ogware at gmx.net
Thu Aug 12 09:00:18 BST 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.


Siegfried Heintze wrote:

> I'm using emacs to edit program source. I'm on rev 1.3. I had made
> some changes and I wanted to momentarily roll back to look at rev
> 1.2. So with the emacs buffer full, go to the command prompt and type
> cvs -r 1.2 filename. This works and I determine the problem. I no
> longer need a copy of 1.2. I have a modified version of 1.3 in the
> emacs buffer so I save it and try to commit it. CVSNT complains and
> says
> 
> cvs server: sticky tag `1.3' for file `generate-xml-webservice.el' is
> not a bran ch cvs [server aborted]: correct above errors first! cvs
> commit: saving log message in 
> C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\cvs20F.tmp
> 
> I'm stuck! How to I commit this file? I want to create 1.4.

You have to return to the latest revision first (also see 
http://cvsgui.sf.net/newfaq.htm#sticky_nocommit). Just do a cvs up -A to 
retrieve that revision again, then save your modified file from emacs, 
then commit.

Hope this helps.

-- 
Oliver

----	------------------
JID:	ogiesen at jabber.org
ICQ:	18777742	(http://wwp.icq.com/18777742)



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