//repo.debug = 1;
// these can fail... at present... as we wildcard stuff.
- stdout.printf("ADD : %u files\n" , add_files.length);
-
+
// make sure added files do not get removed.. ??
/*
var remove_files_f = new Array<GitMonitorQueue>();
add_files_f.append_val(add_files.index(ii));
};
-
+ print("ADD : %u files\n" , add_files_f.length);
+ print("REMOVE: %u files\n" , remove_files_f.length);
+
// make sure monitoring is paused so it does not recursively pick up
// deletions
this.lastAdd = new DateTime.now(new TimeZone.local());
var cmd_s = new GitMonitorQueue(src);
- var cmd_d = new GitMonitorQueue(src);
+ var cmd_d = new GitMonitorQueue(dest);
if (cmd_d.gitpath != cmd_s.gitpath) {
return;
}
+
+
cmd_s.action = "rm";
this.queue.append_val(cmd_s);
-
-
+
cmd_d.action = "add";
this.queue.append_val(cmd_d);