From 98faed2675ef86c4c9e59de57e815526fcad57f2 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 21 Jan 2010 12:45:49 -0500 Subject: [PATCH] Fix version import for mercurial <= 1.1.2 --- libbe/storage/vcs/hg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbe/storage/vcs/hg.py b/libbe/storage/vcs/hg.py index 4993233..088a141 100644 --- a/libbe/storage/vcs/hg.py +++ b/libbe/storage/vcs/hg.py @@ -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 -- 2.26.2