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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T18:51:01+00:00 2026-05-12T18:51:01+00:00

I am using Tortoise SVN. I had checked in a crapload of code recently

  • 0

I am using Tortoise SVN.

I had checked in a crapload of code recently (one commit). In a 3 hour meeting they decided to scrap a bunch of my code and that feature. My boss wants me to put Subversion back in place with the old code for that area of the application.

I’d say there were about 3-4 files affected. Meaing in that last commit where I had commited the new feature changs, I’ll need to roll those files back to the state they were in before I had checked them in.

So, I’m not really understanding what Revert Back to Revision does. I went ahead and found the most recent version of those files in past commits in the log and right clicked those files in the log and did that revert back to revision.

Now does this replace my local copy completely with the older version? Did I do this right if I wanted to only turn back a subset of the functionality I checked in last?

So do I lose all the changes once I revert on my local version of that file? It looks like it merges the older with my local which has newer code…um, not exactly what I expected.

(yes I read the page on it from subversion’s docs and it’s not very clear or thorough on what it means outside of the technical way they briefly put it which is at a very top level and skips the underpinnings of what actually happens locally in your working copy)

So lets sum up what I did:

  1. I checked in a bunch of changes at one point.
  2. collegue gets that update via an svn update
  3. We have a meeting, boss says we’re ripping out that feature
  4. That feature was around 3-4 files of the list of files that were committed in that revision
  5. I want to put those specific files in a state where they were before…some will have be be reverted to Revision x some to y, etc. because the last changes to some of those files were done at different revision numbers.
  6. So I start with the log. I look for the first file. Lets call it somefile1.aspx. I find that the latest of that file was checked in at Revision X. So I right click it in that revision’s change set and do a Revert Back to Revision
  7. I notice that it seemd to actually merge that revision’s code with my local copy?? I think…not sure that’s why I’m posing because eI don’t understand this.
  8. I do the same for 3 more files…look for the last time they were commited and right click them in the specific revision and do a revert back to revision on them…assuming that this will put my local version in that state as well and pretty much wipe out even my changes also for that file locally

but I’m a little shaky and confused on all this. If I’m approaching this right and if I should be using revert back and what the heck it’s actually doing under the covers. I see it’s done a merge but what?? I just want to put back those 4 specific files back to a previous state..not that entire commit that I had just commited that I am mentioning in the beginning here…just specific files related to as specific area of code..the rest can stay commited and be downloaded by anyone else.strong text

  • 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-12T18:51:02+00:00Added an answer on May 12, 2026 at 6:51 pm

    You might be interested in my answer to an extremely similar question a while ago:

    How to remove 1 revision of a folder in Subversion

    Basically, your best plan of action is probably to re-check out the code at the previous revision, and then commit that code as the latest revision.

    If you’re finding that it’s merging the old copy with the version that’s on your disk, the best way to fix that is to delete your local copy, and then check out the specified revision of the file cleanly. Once you’ve got it, you can re-commit it.

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

Sidebar

Ask A Question

Stats

  • Questions 227k
  • Answers 227k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Worked for me. Try this: copy the minimal sample from… May 13, 2026 at 1:22 am
  • Editorial Team
    Editorial Team added an answer If you write your code in code files (.m extension)… May 13, 2026 at 1:22 am
  • Editorial Team
    Editorial Team added an answer If Ultimate has features that you might like, and you… May 13, 2026 at 1:22 am

Related Questions

I've started using SVN before a few weeks. I am facing a weird problem
I have tried several things so far, but I haven't had much luck yet.
Ok, I am using Tortoise Subversion in Vista and using VisualSVN on a Windows
I am using eclipse / subclipse for development. I also have the TortoiseSVN client.

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.