Under Mac OS X 10.6 Snow Leopard, I've made good use of version control, Mercurial in my case. After upgrading to Mac OS X 10.6 Lion, I've discovered that quite a few files in my Mercurial repositories are now also managed by the new Versions feature.
I'm nonplussed by the situation. I've also utterly failed to find anything useful on the web, the combination of "Versions" and "version control" being pretty ambiguous.
What sort of issues might arise by both Mercurial and Versions coming into play? If I just ignore Versions, can I expect Mercurial to work transparently? Are there any opportunities offered by using the two together?
Support Ending December 31, 2019 In keeping with Apple's release cycle, macOS 10.08 Mountain Lion is no longer receiving security updates as of November of 2013. Our latest fully-supported operating system is macOS Mojave (10.14).
OS X Lion (version 10.7) is an operating system designed by Apple and released in 2011. It is generally used with Apple Macintosh computers (Macs). Like any operating system, it allows you to run programs, organize your files, browse the web, and more.
Is there any difference between Mac OS X and macOS? No, they are essentially the same thing — just named differently. In fact, three terms were used at different times with reference to Apple's operating system: Mac OS X, OS X, and macOS. Mac OS X was the official naming through version 10.7, from 2001 to 2011.
OS X Lion, also known as Mac OS X Lion, (version 10.7) is the eighth major release of macOS, Apple's desktop and server operating system for Macintosh computers. Apple Inc. Unsupported as of about October 2014; iTunes support ended in September 2015.
Versions is more like a backup. It saves a version every time you "save" (or periodically with autosave), so use it if you need to recover a version since your most recent commit to version control.
They will work together. However only editing with certain apps will use versions e.g. Xcode, textEdit. I don't think it is the file itself that decides if it is under versions (ie vi won't update the version)
What Versions does is automatically save the file according to John Siracusa's review
Rather than creating a new file alongside the original, Lion continuously saves changes directly to the open document. It does this when there are large document changes, during idle times, or on demand in response to requests from other applications for access to the document's data.
But as per Apple's support note you can just save as before
You can manually create a version of your saved document at any time by choosing File > Save a Version or press Command-S (⌘-S).
So I think that mercurial will not see any difference to a file now saved using Versions.
I suspect you could have a GUI on mercurial tat would note a save via Versions but as the idea of a commi is to have files in a consistent state I suspect there is not much that could be done with this
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With