made the path for games a bit nicer, going one level down into subdirs
[feisty_meow.git] / octopi / library / tentacles / recursive_file_copy.cpp
index 0b33269f73f858fadb768b12fe6a87ea366fc43f..3272ad0f7f4647be0d497bbb4a340ec5e6850d24 100644 (file)
 #include <filesystem/huge_file.h>
 #include <loggers/program_wide_logger.h>
 #include <octopus/entity_defs.h>
+#include <octopus/entity_data_bin.h>
 #include <octopus/octopus.h>
 #include <structures/static_memory_gremlin.h>
 #include <textual/string_manipulation.h>
+#include <timely/time_control.h>
 
 using namespace application;
 using namespace basis;
@@ -36,6 +38,7 @@ using namespace filesystem;
 using namespace loggers;
 using namespace structures;
 using namespace textual;
+using namespace timely;
 
 namespace octopi {
 
@@ -115,8 +118,11 @@ outcome recursive_file_copy::copy_hierarchy(int transfer_mode,
 
   file_transfer_infoton *reply_from_init
       = (file_transfer_infoton *)ring_leader.acquire_specific_result(req_id);
-  if (!reply_from_init)
+  if (!reply_from_init) {
+LOG("spewing list of what IS there...");
+LOG(ring_leader.responses().text_form());
     RETURN_ERROR_RFC("no response to tree compare start", NONE_READY);
+  }
 
   filename_list diffs;
   byte_array pack_copy = reply_from_init->_packed_data;