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

  • SEARCH
  • Home
  • 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 6000491
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:42:03+00:00 2026-05-23T00:42:03+00:00

I’m using SVN with Xcode. After implementing a certain functionality in my working copy,

  • 0

I’m using SVN with Xcode. After implementing a certain functionality in my working copy, I was ready to commit my code to the repository. However the server copy had been modified since my last checkout. So I thought the best thing to do would be to update my project first, resolve conflicts if any, and then finally commit the code. I did just that. But now I find that there are a bunch of errors in my Project. These errors are mostly in the section of code that my co-worker had been working on. So I’m hesitant to modify his code to resolve the errors. Is there a way I can undo the update ? As my code was working perfectly fine before the update, I’d like to continue working on it and maybe merge and commit my changes at a later stage. Is there way I can do this?

  • 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-23T00:42:04+00:00Added an answer on May 23, 2026 at 12:42 am

    XCode allows you to update code to a specific revision. I’m not sure how to do this in XCode 4, but in XCode 3.2 you right click on a class file and click "Get Info". In the info window, go to the "SCM" tab. Over there you’ll see a list of all the SVN revisions for that class file. You should see your coworker’s revision there, accompanied by his check in comment. Select the revision JUST BEFORE that one (this is the one you were working on before you did an update). XCode will now allow you to update to that revision (Via an update button at the bottom of the info window).

    Do these steps for all class files affected by the erroneous update and you should be good to go!

    Also, you should probably inform your coworker to not check in erroneous code as a best practice 🙂

    This is what you should be looking at:

    enter image description here

    EDIT:

    For XCode4, I did some research and if what I found out so far is true, I’m SEVERELY disappointed with SCM functionality in XCode4 (refer: Where is the 'Revert' option in Xcode 4's Source Control?)

    So I have determined that the functionality to update to a specific revision has been pulled out of Xcode4 (If I am wrong I stand open to correction).

    There is, however, a workaround (though this results in the files you’re working in get the "M" flag for modified next to them, rather than the "U" flag which means you’re working on a previous revision).

    In XCode4, on the toolbar at the top, select View>>Editor>>Version.

    enter image description here

    In this editor, XCode4 shows your class files in two editor windows, one with your local revision and one with the latest from the repository.

    At the bottom of each editor window is a toolbar that lists the specific revision you’re looking at.

    enter image description here

    This toolbar is clickable and lets you switch the view to another revision.

    enter image description here

    Once you do that, I’m afraid you’ll simply have to copy-paste that code into your local class file.

    This method will ensure that you’re working with a working copy of the code. However, it may not be the right way to do it (though at the moment, it’s the ONLY way).

    Two other solutions I have are:

    1 (not recommended)

    Work with a copy of XCode 3.2 somehow

    2 (depends on the level of functionality you’re looking for)

    Download a licensed copy of SmartSVN which let’s you update files to specific revisions.

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

Sidebar

Related Questions

I'm new to using the Perl treebuilder module for HTML parsing and can't figure
I'm making a simple page using Google Maps API 3. My first. One marker
That's pretty much it. I'm using Nokogiri to scrape a web page what has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
We're building an app, our first using Rails 3, and we're having to build
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString

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.