--- a/examples/log.lua Sat Sep 10 20:04:43 2016 +0800
+++ b/examples/log.lua Sat Sep 10 20:17:16 2016 +0800
local client = hglib.Client.open()
-client:runcommand('clone', 'https://bitbucket.org/av6/lua-hglib', '/tmp/testrepo')
+client:runcommand('clone', '-U', 'https://bitbucket.org/av6/lua-hglib', '/tmp/testrepo')
local code, o, e, d = client:runcommand('log', '-l', '5', '-T', 'json', '-R', '/tmp/testrepo')