diff options
author | Marc Laukien <marc@zeroc.com> | 2004-11-30 19:04:40 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2004-11-30 19:04:40 +0000 |
commit | 1cb9811b59e09a7697899bba8271cc9d49e07d6f (patch) | |
tree | cc22a1d879cde527fdd7e14d9583f1cd151a924e /cpp/src/IcePatch2/ClientUtil.cpp | |
parent | Checked TODO item -- no change necessary. (diff) | |
download | ice-1cb9811b59e09a7697899bba8271cc9d49e07d6f.tar.bz2 ice-1cb9811b59e09a7697899bba8271cc9d49e07d6f.tar.xz ice-1cb9811b59e09a7697899bba8271cc9d49e07d6f.zip |
IcePatch2
Diffstat (limited to 'cpp/src/IcePatch2/ClientUtil.cpp')
-rwxr-xr-x | cpp/src/IcePatch2/ClientUtil.cpp | 8 |
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)) |