Mercurial > python-hglib
diff hglib/__init__.py @ 59:f4cc7ff53cf8
hglib: change import style
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Fri, 19 Aug 2011 20:14:15 +0300 |
parents | 5fa34c3ac9a0 |
children | ce516ed9bc0d |
line wrap: on
line diff
--- 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)