about summary refs log tree commit diff
path: root/src/libstore/nar-accessor.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2016-11-25T23·37+0100
committerEelco Dolstra <edolstra@gmail.com>2016-11-25T23·38+0100
commit215b70f51e5abd350c9b7db656aedac9d96d0046 (patch)
tree95778448ecdfbc1d8f4c254813cc5d91ed62a832 /src/libstore/nar-accessor.cc
parentf78126bfd6b6c8477fcdbc09b2f98772dbe9a1e7 (diff)
Revert "Get rid of unicode quotes (#1140)"
This reverts commit f78126bfd6b6c8477fcdbc09b2f98772dbe9a1e7. There
really is no need for such a massive change...
Diffstat (limited to 'src/libstore/nar-accessor.cc')
-rw-r--r--src/libstore/nar-accessor.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstore/nar-accessor.cc b/src/libstore/nar-accessor.cc
index 686ecd727c..ded19c05d2 100644
--- a/src/libstore/nar-accessor.cc
+++ b/src/libstore/nar-accessor.cc
@@ -75,7 +75,7 @@ struct NarIndexer : ParseSink, StringSource
     {
         auto i = members.find(path);
         if (i == members.end())
-            throw Error(format("NAR file does not contain path '%1%'") % path);
+            throw Error(format("NAR file does not contain path ‘%1%’") % path);
         return i;
     }
 };
@@ -103,7 +103,7 @@ struct NarAccessor : public FSAccessor
         auto i = indexer.find(path);
 
         if (i->second.type != FSAccessor::Type::tDirectory)
-            throw Error(format("path '%1%' inside NAR file is not a directory") % path);
+            throw Error(format("path ‘%1%’ inside NAR file is not a directory") % path);
 
         ++i;
         StringSet res;
@@ -120,7 +120,7 @@ struct NarAccessor : public FSAccessor
     {
         auto i = indexer.find(path);
         if (i->second.type != FSAccessor::Type::tRegular)
-            throw Error(format("path '%1%' inside NAR file is not a regular file") % path);
+            throw Error(format("path ‘%1%’ inside NAR file is not a regular file") % path);
         return std::string(*nar, i->second.start, i->second.size);
     }
 
@@ -128,7 +128,7 @@ struct NarAccessor : public FSAccessor
     {
         auto i = indexer.find(path);
         if (i->second.type != FSAccessor::Type::tSymlink)
-            throw Error(format("path '%1%' inside NAR file is not a symlink") % path);
+            throw Error(format("path ‘%1%’ inside NAR file is not a symlink") % path);
         return i->second.target;
     }
 };