Commits

Anonymous committed 49805c2

Update minimum version to 2.0 because it includes the fix for pushing commits behind the command servers back.

Comments (0)

Files changed (1)

Data/FileStore/MercurialCommandServer.hs

     (status,_,out) <- runShellCommand "." Nothing "hg" ["version", "-q"]
     case status of
       ExitFailure _ -> return False
-      ExitSuccess   -> return $ parseVersion (LUTF8.toString out) >= [1,9]
+      ExitSuccess   -> return $ parseVersion (LUTF8.toString out) >= [2,0]
 
 -- | hg version -q returns something like "Mercurial Distributed SCM (version 1.9.1)"
 --   This function returns the list [1,9,1]