From: Tobias Ulmer Date: Fri, 3 May 2013 11:17:59 +0000 (+0200) Subject: Remove unused function check_workingcopies() X-Git-Tag: e2factory-2.3.15rc1~507 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=f4cac8107fcce26e45f373cfd940ec8014ebe7ac;p=e2factory.git Remove unused function check_workingcopies() Reported by Thomas Brinker Signed-off-by: Tobias Ulmer --- diff --git a/local/e2tool.lua b/local/e2tool.lua index b083e80..c8dece7 100644 --- a/local/e2tool.lua +++ b/local/e2tool.lua @@ -2361,22 +2361,6 @@ local function add_source_results(info, source_set) end end ---- check working copies. -local function check_workingcopies(info) - local e = err.new("Error while checking working copies") - local rc, re - for n,s in pairs(info.sources) do - rc, re = scm.check_workingcopy(info, n) - if not rc then - return false, e:cat(re) - end - end - if e:getcount() > 1 then - return false, e - end - return true, nil -end - --- select the result and apply build options -- @param info -- @param r string: the result name