[cvsnt] Reverting to a previous file...

Flávio Etrusco flavio.etrusco at gmail.com
Mon Aug 28 22:35:26 BST 2006


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 apologize in advance and feel a little silly for not being able to find in
> the FAQ or news group the answer to this question. I'm sure it's already
> been asked before

Unfortunately reverting is not as easy as it should/could. OTOH it's
basically as safe as it can be ;-)

> I am trying to revert to a previously checked in version of files in a
> project. I want to check into the tip of my development line or branch an
> older version that has been tagged or maybe by date. I thought I would
> simply two step process.
>
> 1. update sandbox with the branch or the main development line I want to
> revert.
> 2. Issue the cvs update -j TAG_TO_REVERT_TO
>
> If I wanted it to be date, I would replace the tag after the -j option with
> the date and time. This didn't seem to work. What steps should I use to
> revert?

I believe passing in the current tag/branch/revision as the first -j
option, in step 2, will do.

Cheers,
Flávio


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