This commit is contained in:
Axel Kittenberger 2010-11-13 08:00:07 +00:00
parent 60a14c262f
commit 9aa3ad8e44
2 changed files with 8 additions and 5 deletions

View File

@ -9,11 +9,14 @@ settings = {
statusIntervall = 1,
}
----
-- for testing purposes. prefix can be used to slow commands down.
-- prefix = "sleep 5 && "
prefix = ""
----
-- for testing purposes. uses bash command to hold local dirs in sync.
--
prefix = "sleep 5 && "
slowbash = {
bash = {
delay = 5,
maxProcesses = 3,
@ -53,5 +56,5 @@ slowbash = {
end,
}
sync{default.rsync, source="src", target="dst/"}
sync{bash, source="src", target="dst/"}

View File

@ -806,8 +806,8 @@ local Sync = (function()
error("Cannot replace events with different paths")
end
else
log("Delay",nd.etype," turns a move into delete ",
od.etype," on ", path)
log("Delay",nd.etype," turns a Move into delete of ",
od.path)
od.etype = "Delete"
od.path2 = nil
table.insert(self.delays, nd)