Anton Shestakov <av6@dwimlabs.net>, Sun, 23 Sep 2018 18:59:00 +0800
spec: no need to check exact phrasing, especially single vs double quote marks
README.md
Permissions: -rw-r--r--
A pure-Lua library for interacting with Mercurial's command server. It's useful
for Lua applications that want to get all kinds of repository data fast.
Compared to the usual way of executing multiple
`hg command`, this library
skips the overhead of starting up a new process every time.
local hglib = require 'hglib' local client = hglib.Client.open('.') local code, o, e, d = client:runcommand({'log', '-r0'}) See examples/ and spec/ for more.
Initial release. Implemented methods include:
- `Client:runcommand_co()` - ORM-like interface from python-hglib
- Maybe use something better than lpc