Mercurial > python-hglib
view hglib/__init__.py @ 34:f6e1d9a6e0cd
client: change return value of status() to a list of (code, file path)
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Sun, 14 Aug 2011 00:51:15 +0300 |
parents | 5fa34c3ac9a0 |
children | f4cc7ff53cf8 |
line wrap: on
line source
from client import hgclient HGPATH = 'hg' def open(path=None, encoding=None, configs=None): ''' 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)