diff hglib/client.py @ 148:c1b966866ed7

hglib: make all imports absolute (issue4520)
author Brett Cannon <brett@python.org>
date Fri, 13 Mar 2015 14:46:13 -0400
parents 98829bf71f10
children 11202c85737e
line wrap: on
line diff
--- a/hglib/client.py	Fri Mar 13 12:28:06 2015 -0500
+++ b/hglib/client.py	Fri Mar 13 14:46:13 2015 -0400
@@ -1,7 +1,8 @@
 import subprocess, os, struct, re, datetime
-import hglib, error, util, templates, merge, context
+import hglib
+from hglib import error, util, templates, merge, context
 
-from util import b, cmdbuilder, BytesIO
+from hglib.util import b, cmdbuilder, BytesIO
 
 class revision(tuple):
     def __new__(cls, rev, node, tags, branch, author, desc, date):