Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I revert changes, i.e. return to a previous revision and continue development based on it ?

0
Posted

How can I revert changes, i.e. return to a previous revision and continue development based on it ?

0

The easiest way to do this is described in Karl Fogel’s CVS Book. Let me paraphrase the steps for the GUI environment of WinCvs: • Select the file(s) or module(s) you want to revert in the file view • Invoke the Update dialog. • Activate the Merge options tab. • Choose Merge Type “Merge with differences between two rev./tags” and enter the revision number or tag of the latest revision on the current branch into the first entry field (if you’re still using WinCvs 1.3.18 or earlier, enter this into the field labeled Only this rev./tag). For simplicity you could just use HEAD instead of the actual revision number if you are working on the trunk or the respective branch tag if you’re working on a branch. • Enter the revision number or tag of the revision you want to revert into the second entry (Plus with this rev./tag in WinCvs 1.3.18 and earlier). • Hit “OK” You should now have your files ready to be committed as new revisions whose contents are identical to the revisions you reverted to

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123