Lines Matching defs:version
3 # it under the terms of the GNU General Public License version 2
24 At a basic level, code to verify that the version of Mercurial in use
25 is suitable for use with Cadmium, and compare that version for the
35 # Mercurial >= 1.2 has util.version(), prior versions
36 # version.get_version() We discover which to use this way, rather than
41 if hasattr(util, 'version'):
42 hg_version = util.version
44 from mercurial import version
45 hg_version = version.get_version
60 '''Check that we're running on a suitable version of Mercurial'''
70 raise VersionMismatch("Scm expects Mercurial version %s, "
71 "actual version is %s." %
77 '''Return the Mercurial version as a list [MAJOR, MINOR, MICRO],
82 # If there's only one element, it's not really a tagged version
92 '''Return boolean indicating if the running version is greater
93 than or equal to, the version specified by major, minor, micro'''
101 # than any released version.