diff options
author | Marc Laukien <marc@zeroc.com> | 2002-04-07 22:56:22 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-04-07 22:56:22 +0000 |
commit | f35881fbbdabc08f0b9e194600cf882a21d7cc3d (patch) | |
tree | e8b56ea22f57450507f123a42d267d7db97b642b /cpp/src/IcePatch/Client.cpp | |
parent | remove orphaned files (diff) | |
download | ice-f35881fbbdabc08f0b9e194600cf882a21d7cc3d.tar.bz2 ice-f35881fbbdabc08f0b9e194600cf882a21d7cc3d.tar.xz ice-f35881fbbdabc08f0b9e194600cf882a21d7cc3d.zip |
remove orphaned files
Diffstat (limited to 'cpp/src/IcePatch/Client.cpp')
-rw-r--r-- | cpp/src/IcePatch/Client.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/cpp/src/IcePatch/Client.cpp b/cpp/src/IcePatch/Client.cpp index aa54362f79f..d365edcb918 100644 --- a/cpp/src/IcePatch/Client.cpp +++ b/cpp/src/IcePatch/Client.cpp @@ -98,11 +98,6 @@ IcePatch::Client::run(int argc, char* argv[]) communicator()->addObjectFactory(factory, "::IcePatch::FileDesc"); // - // Remove orphaned MD5 and BZ2 files. - // - removeOrphanedRecursive("."); - - // // Patch all nodes. // Identity identity = pathToIdentity("."); @@ -115,6 +110,13 @@ IcePatch::Client::run(int argc, char* argv[]) cout << pathToName(path) << endl; cout << "|" << endl; patch(topDesc->directory->getContents(), ""); + + // + // Remove orphaned MD5 and BZ2 files. + // + cout << "removing orphaned .bz2 and .md5 files... " << flush; + removeOrphanedRecursive("."); + cout << "ok" << endl; } catch (const NodeAccessException& ex) { |