Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7500765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T20:17:48+00:00 2026-05-29T20:17:48+00:00

For legacy reasons, I’m using CVS on a project. Recently I committed some changes

  • 0

For legacy reasons, I’m using CVS on a project. Recently I committed some changes which broke our code and I needed to revert them. What’s CVS’s analog of git revert -r <old_revision>?

Looking at past questions like How to revert big change, CVS commits don’t group the files that were changed. Is the only way to revert by using dates?

Also, what’s the best way to view past changes? CVS log outputs too much info, most of which is unnecessary. I want to see commit messages and changed files.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T20:17:52+00:00Added an answer on May 29, 2026 at 8:17 pm

    CVS documentation can be found here, but from this site it tells how to revert a single file:

    MAKING THE OLD VERSION THE CURRENT VERSION

    Save the version of "oldfile" to something else and check out the "current" version.
    Note: you must still to do update -A to get the current version, because even though you have > renamed
    "oldfile" the tag is still associated with the file "oldfile" and is not removed till > update -A is done.

    Then rename the "old" version to the "current" version.
    % mv oldfile oldfile.old.ver
    % cvs update -A oldfile
    % mv oldfile.old.ver oldfile
    % cvs commit -m "reverting to version 1.5" oldfile

    You can now carry on checking out, editing and commiting the file as normal.

    This won’t handle many files in a recursive fashion, but hopefully helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have legacy code which I need to improve for performance reasons. My application
I'm cleaning up some legacy code and I have found methods which explicitly throw
For reasons which are somewhat unavoidable (lots of legacy code, compatibility, design needs) I
I've encountered an interesting problem while developing for our legacy XWindows application. For reasons
I have inherited some legacy PHP code what was written back when it was
There is a legacy CVS repository, which contains a large number of directories, sub-directories,
Whilst analysing some legacy code with FXCop, it occurred to me is it really
I have a legacy database, which I am using EJB3 to model. The database
We use a lot of legacy package.html files in our project and we want
I am converting a legacy jar project to SBT and for strange reasons that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.