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 8320933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T22:50:23+00:00 2026-06-08T22:50:23+00:00

I was playing around with some files (someone else’s code mounted on the machine,

  • 0

I was playing around with some files (someone else’s code mounted on the machine, I have to model my code after it) and short story: something went wrong. The page is printing the header twice, the error messages are going haywire, etc… I’m not sure what I did. I tried to undo all my changes, but it’s not working. I must be missing something.

I didn’t actually check in my code, but the changes were still kept. Is there anyway that I can just get back to the way the files were before I started playing around with them (i.e this morning)? I know about hg revert, but I’m not sure if it’s a good idea; Mercurial seems pretty certain that I don’t want to use revert… Like, ever.

Really frustrated with this, so I really appreciate any suggestions.

  • 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-06-08T22:50:24+00:00Added an answer on June 8, 2026 at 10:50 pm

    The short answer is that yeah, just go ahead and use revert, that’s what you want to do in this case. This question is not a duplicate of yours per se, but it explains some of the subtleties of using revert and similar Mercurial commands.

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

Sidebar

Related Questions

I was playing around with some Javascript snippets today and noticed that this code
Here is some C++ code I'm playing around with: #include <iostream> #include <vector> #define
I'm playing around with Ruby to do some file versioning for me. I have
I have been playing around with UBIFS some. One test I wrote was a
I am just playing around with some java programming and so I wanted a
I was playing around with some Chrome Extensions, testing stuff, changing samples, etc, when
I am playing around with some recursion, and trying to count the number of
I'm playing around with some Dependency Injection ( StructureMap ) with my ASP.NET MVC
I'm playing around with some historical data wherein some dates I know accurately (i.e.
I'm currently playing around with some app ideas using AirPlay mirroring and a second

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.