![]() Simply copy that folder to its destination, which could be another Mac anywhere in the world, then use the UnArchive command in Revisionist’s Window menu to reconstitute the file complete with local versions in the new volume’s version database. Revisionist can also use those archive folders to move a document complete with all its versions to a different volume, something macOS can’t. If you want to save the whole set, click on Archive and Revisionist creates a new folder and writes a copy of every version into it as a separate file, all carefully numbered in sequence. Select any version and click the Save button to make an accessible copy of that version. Open one of those source files with a few saved versions using Revisionist and you can browse any of them right back to the first.ĭouble-click on a version to preview it, and have the option to open that version using Xcode. That’s because Xcode saves a version each time a file is saved, which is every changed file for each build, plus all those you explicitly save. You’ll also be amazed at how many saved versions some files have: it can run into hundreds. Revisionist has a crawler that checks each document in a folder to see how many versions of that are in the volume’s version database, and reports those numbers in detail. The first surprising discovery when you look for saved versions in your Xcode projects (or anywhere else) is just how many there are. You can preview and open them too, letting you create composites from older versions, and save every revision to compare changes in each, perhaps using BBEdit’s superb Find Differences feature. Revisionist will open any file type and show full details of every version of that document, including their sizes. My free Revisionist, and its complementary DeepTools, help you access saved versions, and preserve them when copying files between volumes, even over the Internet if you wish. Recognising those limitations, I put together a utility to address most of them. One serious consequence of this immobility of versions is that backup copies of documents saved by Time Machine or any other backup software lose their version history too. When you do copy it down, though, those old versions are gone. ![]() iCloud can provide a workaround, so long as all who access that document leave it in the same folder in iCloud Drive. If you want access to the same versions from two different Macs, that’s a problem, as each time you copy it across, all the previous versions are blown away. Because these versions are saved in a database on the volume storing the original document, when you copy or move that document to another volume, the versions don’t move with it, and are lost. ![]() There are some notable limitations to this system. That appears to consist of a database, together with copies of old versions of files. DocumentRevisions-V100 folder found at the top level on volumes with saved versions of files. In the many apps that support the macOS version system, each time that a document is saved, a copy is added to that volume’s version database, hidden in the. I have yet to work out how in Xcode’s standard working window I can view previously saved versions of any file in a project. Probably one of the least-used features in apps, some like Xcode seem to support it, but make it hard to access. Old versions of documents are normally accessed through the Revert To command in the File menu, and selecting the Browse All Versions… command enters its full-screen version browser, resembling the interface of the Time Machine app. Many Mac apps support the macOS version system. This article explains how you can access and recover old versions of Xcode source whether or not you use Git. It just doesn’t give you easy access to the dozens of versions it saves for you. Besides, Xcode manages versions automatically without having to resort to using Git or other code management systems. I should use Git, I know, but when there’s only one of you writing code it seems overkill.
0 Comments
Leave a Reply. |