summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/Client.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-04-07 22:56:22 +0000
committerMarc Laukien <marc@zeroc.com>2002-04-07 22:56:22 +0000
commitf35881fbbdabc08f0b9e194600cf882a21d7cc3d (patch)
treee8b56ea22f57450507f123a42d267d7db97b642b /cpp/src/IcePatch/Client.cpp
parentremove orphaned files (diff)
downloadice-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.cpp12
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)
{