guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

47/376: Replace message "importing path <...>" with "exporting path <...


From: Ludovic Courtès
Subject: 47/376: Replace message "importing path <...>" with "exporting path <...>"
Date: Wed, 28 Jan 2015 22:03:57 +0000

civodul pushed a commit to tag 1.8
in repository guix.

commit edbfe2232e275a9e6c10cd8eb4dc36ca992af084
Author: Eelco Dolstra <address@hidden>
Date:   Thu Jul 10 21:30:22 2014 +0200

    Replace message "importing path <...>" with "exporting path <...>"
    
    This causes nix-copy-closure to show what it's doing before rather
    than after.
---
 src/libstore/local-store.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index e66042c..7d78ab7 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -1486,6 +1486,8 @@ void LocalStore::exportPath(const Path & path, bool sign,
 {
     assertStorePath(path);
 
+    printMsg(lvlInfo, format("exporting path `%1%'") % path);
+
     addTempRoot(path);
     if (!isValidPath(path))
         throw Error(format("path `%1%' is not valid") % path);
@@ -1596,8 +1598,6 @@ Path LocalStore::importPath(bool requireSignature, Source 
& source)
 
     Path dstPath = readStorePath(hashAndReadSource);
 
-    printMsg(lvlInfo, format("importing path `%1%'") % dstPath);
-
     PathSet references = readStorePaths<PathSet>(hashAndReadSource);
 
     Path deriver = readString(hashAndReadSource);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]