[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-diffs] net.venge.monotone.lua-5.2: 070069619eb6319267e
From: |
code |
Subject: |
[Monotone-commits-diffs] net.venge.monotone.lua-5.2: 070069619eb6319267ed5468b49dacb730ab749e |
Date: |
Wed, 25 Apr 2012 16:25:44 +0200 (CEST) |
revision: 070069619eb6319267ed5468b49dacb730ab749e
date: 2012-04-25T14:21:30
author: Richard Levitte <address@hidden>
branch: net.venge.monotone.lua-5.2
changelog:
* test/func/user_commands/extra_rc (check_head): From
http://www.lua.org/manual/5.1/manual.html#7.1 :
The vararg system changed from the pseudo-argument arg with a table
with the extra arguments to the vararg expression.
manifest:
format_version "1"
new_manifest [cc99b0c48c81f133588978cf507ab7cb00fdcc47]
old_revision [d87f33bf21cbe464b78fa22f2ae839e4e1dabb2b]
patch "test/func/user_commands/extra_rc"
from [94c90e2f0259bc9905f6be3fcc2580f0c8c2714d]
to [9a5ec1738ea71aee61b3b3847e70bec67ff01228]
============================================================
--- test/func/user_commands/extra_rc 94c90e2f0259bc9905f6be3fcc2580f0c8c2714d
+++ test/func/user_commands/extra_rc 9a5ec1738ea71aee61b3b3847e70bec67ff01228
@@ -5,7 +5,7 @@ function check_head(...)
io.stderr:write("automate call failed\n")
return
end
- arghead = unpack(arg)
+ arghead = unpack(...)
heads = heads:gsub("^%s*(.-)%s*$", "%1") -- trim leading and trailing whitespace
if (heads == arghead) then
io.write("heads are equal\n")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-diffs] net.venge.monotone.lua-5.2: 070069619eb6319267ed5468b49dacb730ab749e,
code <=