Signed-off-by: Tobias Ulmer <tu@emlix.com>
require("err")
require("plugin")
require("tools")
-require("cache")
+local cache = require("cache")
require("luafile")
_version = "e2factory, the emlix embedded build system, version " ..
-- take server / location
module("generic_git", package.seeall)
+local cache = require("cache")
--- clone a git repository
-- @param surl url to the server
require("e2lib")
require("e2option")
require("generic_git")
+local cache = require("cache")
e2lib.init()
require("e2lib")
require("e2option")
require("generic_git")
+local cache = require("cache")
e2lib.init()
local e = new_error("fetching project failed")
module("git", package.seeall)
require("scm")
local hash = require("hash")
+local cache = require("cache")
--- git branch wrapper
-- get the current branch
require("e2local")
require("e2tool")
+local cache = require("cache")
+
e2lib.init()
local info, re = e2tool.local_init(nil, "new-source")
if not info then