]> git.e2factory.org Git - e2factory.git/commitdiff
Remove unused function check_workingcopies()
authorTobias Ulmer <tu@emlix.com>
Fri, 3 May 2013 11:17:59 +0000 (13:17 +0200)
committerTobias Ulmer <tu@emlix.com>
Wed, 16 Nov 2016 13:58:55 +0000 (14:58 +0100)
Reported by Thomas Brinker

Signed-off-by: Tobias Ulmer <tu@emlix.com>
local/e2tool.lua

index b083e807f4fe507b3e1ef3bebc0e89e0d32c60fa..c8dece7433071e71c499ad33b34367a2d5e25fce 100644 (file)
@@ -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