Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SCM: Subversion Tags - Easy to create, but how to revert?



Xcode 3.0, Leopard
(and I am really disappointed that the Developer Tools Reference on SCM is stranded at Xcode 2.x)


I have a project under control by Subversion, using the usual branches/ tags/trunk tree.

I have brought my project to a stage that pleases me, and I want to set a tag for that revision. This is easy enough: Open the Repositories window, select the relevant trunk directory, press Copy, name the copy something like "Version-1.0.0", direct it to the tags directory, and provide an apposite message.

Fine: tags/Version-1.0.0 now freeze-dries the project at the desired revision, and I see by "svn info" that the working copy still uses the trunk URL as its repository. All correct.

I do further work, check in further revisions, and then decide I want to revert to "Version-1.0.0".

I don't want to press the Checkout button and create a new working copy from tags/Version-1.0.0. Maybe I don't want a duplicate working copy, and _definitely_ I don't want the URL for a working copy to be that of the tag: Any revisions I'd check in from then on would modify the contents of the tag.

I don't want to press the Export button and copy the contents of the tag into my working copy, because that leaves files I created since Version-1.0.0 in the working copy.

I don't want to select all my files and do SCM -> Update To -> ? , because there's no way to specify the tag URL.

I think, on the command line, I want "svn merge", but I admit I'm finding that part of the Subversion Book a bit opaque.

How would I accomplish this?

	— F

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.