diff hglib/__init__.py @ 92:07efbd3bd09a

hglib: change init to not open a command server instance automatically
author Idan Kamara <idankk86@gmail.com>
date Thu, 22 Dec 2011 19:12:47 +0200
parents 15485fa4b35e
children a4fcece7dd8e
line wrap: on
line diff
--- a/hglib/__init__.py	Thu Dec 22 19:12:47 2011 +0200
+++ b/hglib/__init__.py	Thu Dec 22 19:12:47 2011 +0200
@@ -19,4 +19,4 @@
     if proc.returncode:
         raise error.CommandError(args, proc.returncode, out, err)
 
-    return open(dest, encoding, configs)
+    return client.hgclient(dest, encoding, configs, connect=False)