Signed-off-by: Tobias Ulmer <tu@emlix.com>
if not rc then
e2lib.abort(re)
end
- local e = err.new("updating cvs source failed")
+ local e = err.new("updating source '%s' failed", sourcename)
local src = info.sources[ sourcename ]
local working = string.format("%s/%s", info.root, src.working)
local rsh = tools.get_tool("ssh")
function git.update(info, sourcename)
local src = info.sources[ sourcename ]
local rc, re
- local e = err.new("updating source failed")
+ local e = err.new("updating source '%s' failed", sourcename)
rc, re = scm.working_copy_available(info, sourcename)
if not rc then
return false, e:cat(re)
if not rc then
e2lib.abort(re)
end
- local e = err.new("updating svn source failed")
+ local e = err.new("updating source '%s' failed", sourcename)
local src = info.sources[ sourcename ]
local working = string.format("%s/%s", info.root, src.working)
rc, re = e2lib.chdir(working)