]> git.e2factory.org Git - e2factory.git/commit
local/e2-new-source.lua: check if file is already on the server
authorFabian Godehardt <fg@emlix.com>
Mon, 17 Sep 2012 06:37:04 +0000 (08:37 +0200)
committerTobias Ulmer <tu@emlix.com>
Tue, 26 Feb 2013 18:07:12 +0000 (19:07 +0100)
commitf3eb9198429dffbe08cbec0793f7accf1d5f2706
tree7d3055114b62027f20397ec51060664a48931a23
parente9cbde324136adbfbbcbbd145b4eed85537dd193
local/e2-new-source.lua: check if file is already on the server

If we try to create a new source, using the "--files" parameter
then we now check if a file with the same name is already on the
server.

Before this patch, it was possible to overwrite an existing file
without any notifications.

e2-new-source aborts now if a file with the same name already exists.

Signed-off-by: Fabian Godehardt <fg@emlix.com>
local/e2-new-source.lua