37:e7e650632cc8
Anton Shestakov <av6@dwimlabs.net>, Sun, 23 Oct 2016 17:53:32 +0800
hglib: make inner loop in runcommand() use a coroutine Then it's possible to do something nontrivial using the more low-level client.runcommand_co().

previous change 35:9dcbc37ecb32

rockspecs/hglib-scm-0.rockspec

Permissions: -rw-r--r--

Other formats: Feeds:
package = 'hglib'
version = 'scm-0'
source = {
url = 'hg+https://bitbucket.org/av6/lua-hglib',
branch = 'default'
}
description = {
summary = 'Mercurial command server client library.',
detailed = [[
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.
]],
homepage = 'https://bitbucket.org/av6/lua-hglib',
license = 'MIT'
}
dependencies = {
'lpc ~> 1.0.0',
-- lpc seems to be 5.1-only (contrary to what its rockspec says), at least
-- until https://github.com/LuaDist/lpc/pull/1 is merged, for example.
-- Since hglib is depending on it, it's also 5.1-only at the moment.
'lua ~> 5.1'
}
build = {
type = 'builtin',
modules = {
hglib = 'hglib.lua'
},
copy_directories = { 'examples', 'spec' }
}