Anton Shestakov <av6@dwimlabs.net>, Tue, 25 Oct 2016 12:16:47 +0800
docs: expand release notes, prepare for 0.8, add todo/milestones section
examples/version.lua
Permissions: -rw-r--r--
local hglib = require 'hglib' local client = hglib.Client.open() local code, o, e, d = client:runcommand({'version', '--quiet'}) print(o:match('%(version (%S+)%)')) print("Couldn't get version: " .. e)