Download:
child 27:c274ab4968e5
parent 25:7af20c4b0579
26:17fa46bb8e80
Anton Shestakov <av6@dwimlabs.net>, Sat, 10 Sep 2016 20:17:16 +0800
examples: no need to update working directory when using just log

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
examples/log.lua file | annotate | diff | comparison | revisions
--- a/examples/log.lua Sat Sep 10 20:04:43 2016 +0800
+++ b/examples/log.lua Sat Sep 10 20:17:16 2016 +0800
@@ -3,7 +3,7 @@
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')
client:close()