Oops, that forgot the equals part of Mercurial 1.9 or greater.
authorW. Trevor King <wking@drexel.edu>
Thu, 8 Sep 2011 03:20:54 +0000 (23:20 -0400)
committerW. Trevor King <wking@drexel.edu>
Thu, 8 Sep 2011 03:20:54 +0000 (23:20 -0400)
libbe/storage/vcs/hg.py

index b61e796d118998739d9f77ad40d8799f2c7b378d..758ea5a413d056d2cd418600f502b2a9238ec85f 100644 (file)
@@ -85,7 +85,7 @@ class Hg(base.VCS):
         fullargs.extend(args)
         cwd = os.getcwd()
         output = StringIO.StringIO()
-        if self.version_cmp(1,9):
+        if self.version_cmp(1,9) >= 0:
             req = mercurial.dispatch.request(fullargs, fout=output)
             mercurial.dispatch.dispatch(req)
         else: