# HG changeset patch # User Idan Kamara # Date 1313774055 -10800 # Node ID f4cc7ff53cf886366b0bcfa0383263d38559207a # Parent 3d413c54e048f31cc61c7cd15ea078d39ef708e6 hglib: change import style diff -r 3d413c54e048 -r f4cc7ff53cf8 hglib/__init__.py --- a/hglib/__init__.py Fri Aug 19 20:08:13 2011 +0300 +++ b/hglib/__init__.py Fri Aug 19 20:14:15 2011 +0300 @@ -1,4 +1,4 @@ -from client import hgclient +import client HGPATH = 'hg' @@ -6,4 +6,4 @@ ''' starts a cmdserver for the given path (or for a repository found in the cwd). HGENCODING is set to the given encoding. configs is a list of key, value, similar to those passed to hg --config. ''' - return hgclient(path, encoding, configs) + return client.hgclient(path, encoding, configs)