aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/export-import.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-05-16 16:09:57 +0200
committerEelco Dolstra <edolstra@gmail.com>2017-05-16 16:09:57 +0200
commitb01d62285cdcd376a8db1863049c68d8c7238837 (patch)
tree97662479c20edb683e81f82b26635915703da3ca /src/libstore/export-import.cc
parente80257f12209c8fbb709b901039ef5199111276e (diff)
Improve progress indicator
Diffstat (limited to 'src/libstore/export-import.cc')
-rw-r--r--src/libstore/export-import.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstore/export-import.cc b/src/libstore/export-import.cc
index 2b8ab063e..6e8bc692c 100644
--- a/src/libstore/export-import.cc
+++ b/src/libstore/export-import.cc
@@ -30,13 +30,13 @@ void Store::exportPaths(const Paths & paths, Sink & sink)
std::reverse(sorted.begin(), sorted.end());
std::string doneLabel("paths exported");
- logger->incExpected(doneLabel, sorted.size());
+ //logger->incExpected(doneLabel, sorted.size());
for (auto & path : sorted) {
- Activity act(*logger, lvlInfo, format("exporting path ‘%s’") % path);
+ //Activity act(*logger, lvlInfo, format("exporting path ‘%s’") % path);
sink << 1;
exportPath(path, sink);
- logger->incProgress(doneLabel);
+ //logger->incProgress(doneLabel);
}
sink << 0;
@@ -81,7 +81,7 @@ Paths Store::importPaths(Source & source, std::shared_ptr<FSAccessor> accessor,
info.path = readStorePath(*this, source);
- Activity act(*logger, lvlInfo, format("importing path ‘%s’") % info.path);
+ //Activity act(*logger, lvlInfo, format("importing path ‘%s’") % info.path);
info.references = readStorePaths<PathSet>(*this, source);