Fix version import for mercurial <= 1.1.2
authorW. Trevor King <wking@drexel.edu>
Thu, 21 Jan 2010 17:45:49 +0000 (12:45 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 21 Jan 2010 17:45:49 +0000 (12:45 -0500)
libbe/storage/vcs/hg.py

index 49932336ad52dade6820cb3cdbabdc79a83b18a6..088a14139a63a4b8c39316388f8f86070dba8ee1 100644 (file)
@@ -34,7 +34,7 @@ try:
 except ImportError:
     try:
         # mercurial <= 1.1.2
-        from mercurial.version import version
+        from mercurial.version import get_version as version
     except ImportError:
         version = None