summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2/ClientUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePatch2/ClientUtil.cpp')
-rwxr-xr-xcpp/src/IcePatch2/ClientUtil.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/src/IcePatch2/ClientUtil.cpp b/cpp/src/IcePatch2/ClientUtil.cpp
index 25297001d5f..a956dd78fbc 100755
--- a/cpp/src/IcePatch2/ClientUtil.cpp
+++ b/cpp/src/IcePatch2/ClientUtil.cpp
@@ -83,6 +83,8 @@ IcePatch2::Patcher::patch()
bool thorough = _thorough;
+ cout << "--- 1 ---" << endl;
+
if(!thorough)
{
try
@@ -105,9 +107,11 @@ IcePatch2::Patcher::patch()
saveFileInfoSeq(_dataDir, infoSeq);
}
+ cout << "--- 2 ---" << endl;
FileTree0 tree0;
getFileTree0(infoSeq, tree0);
+ cout << "--- 3 ---" << endl;
FileInfoSeq removeFileSeq;
FileInfoSeq updateFileSeq;
@@ -162,9 +166,13 @@ IcePatch2::Patcher::patch()
}
}
+ cout << "--- 4 ---" << endl;
+
sort(removeFileSeq.begin(), removeFileSeq.end(), FileInfoLess());
sort(updateFileSeq.begin(), updateFileSeq.end(), FileInfoLess());
+ cout << "--- 5 ---" << endl;
+
if(!removeFileSeq.empty())
{
if(!removeFiles(removeFileSeq))