Score:1

Determining which Mercurial version which created a repository

it flag
RVT

I have a rather large Mercurial web server (ie. running under hgweb.wsgi) that's outgrown the distribution it was built-on... which basically means that I've already started doing upgrades of Python, Apache, OpenSSL, mod-wsgi, and Mercurial (among other things), rather than being more-responsible and upgrading the underlying O/S (don't hate on me).

The question here, is... what is the best way to determine which version of hg actually created any given repository. Ideally, I'm looking to get rid of the older database versions and help make sure those repos basically "keep up" with current versions of Mercurial.

I understand the general .hg/requires file, which can give you "compatibility requirements," but that does completely answer the question of "how old was the version of Mercurial that created this repo?"

That said, there's probably some place that lists the "new" requirements for any particular version, so you can artificially construct a version matrix? Unfortunately, I was unlucky on the mercurial-scm.org site in finding anything definitive.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.