Revert "Get rid of unicode quotes (#1140)"
This reverts commit f78126bfd6. There
really is no need for such a massive change...
			
			
This commit is contained in:
		
							parent
							
								
									f78126bfd6
								
							
						
					
					
						commit
						215b70f51e
					
				
					 96 changed files with 670 additions and 670 deletions
				
			
		|  | @ -81,9 +81,9 @@ struct S3BinaryCacheStoreImpl : public S3BinaryCacheStore | |||
| 
 | ||||
|             if (!res.IsSuccess()) { | ||||
|                 if (res.GetError().GetErrorType() != Aws::S3::S3Errors::NO_SUCH_BUCKET) | ||||
|                     throw Error(format("AWS error checking bucket '%s': %s") % bucketName % res.GetError().GetMessage()); | ||||
|                     throw Error(format("AWS error checking bucket ‘%s’: %s") % bucketName % res.GetError().GetMessage()); | ||||
| 
 | ||||
|                 checkAws(format("AWS error creating bucket '%s'") % bucketName, | ||||
|                 checkAws(format("AWS error creating bucket ‘%s’") % bucketName, | ||||
|                     client->CreateBucket( | ||||
|                         Aws::S3::Model::CreateBucketRequest() | ||||
|                         .WithBucket(bucketName) | ||||
|  | @ -132,7 +132,7 @@ struct S3BinaryCacheStoreImpl : public S3BinaryCacheStore | |||
|             if (error.GetErrorType() == Aws::S3::S3Errors::UNKNOWN // FIXME
 | ||||
|                 && error.GetMessage().find("404") != std::string::npos) | ||||
|                 return false; | ||||
|             throw Error(format("AWS error fetching '%s': %s") % path % error.GetMessage()); | ||||
|             throw Error(format("AWS error fetching ‘%s’: %s") % path % error.GetMessage()); | ||||
|         } | ||||
| 
 | ||||
|         return true; | ||||
|  | @ -154,14 +154,14 @@ struct S3BinaryCacheStoreImpl : public S3BinaryCacheStore | |||
| 
 | ||||
|         auto now1 = std::chrono::steady_clock::now(); | ||||
| 
 | ||||
|         auto result = checkAws(format("AWS error uploading '%s'") % path, | ||||
|         auto result = checkAws(format("AWS error uploading ‘%s’") % path, | ||||
|             client->PutObject(request)); | ||||
| 
 | ||||
|         auto now2 = std::chrono::steady_clock::now(); | ||||
| 
 | ||||
|         auto duration = std::chrono::duration_cast<std::chrono::milliseconds>(now2 - now1).count(); | ||||
| 
 | ||||
|         printInfo(format("uploaded 's3://%1%/%2%' (%3% bytes) in %4% ms") | ||||
|         printInfo(format("uploaded ‘s3://%1%/%2%’ (%3% bytes) in %4% ms") | ||||
|             % bucketName % path % data.size() % duration); | ||||
| 
 | ||||
|         stats.putTimeMs += duration; | ||||
|  | @ -172,7 +172,7 @@ struct S3BinaryCacheStoreImpl : public S3BinaryCacheStore | |||
|         std::function<void(std::exception_ptr exc)> failure) override | ||||
|     { | ||||
|         sync2async<std::shared_ptr<std::string>>(success, failure, [&]() { | ||||
|             debug(format("fetching 's3://%1%/%2%'...") % bucketName % path); | ||||
|             debug(format("fetching ‘s3://%1%/%2%’...") % bucketName % path); | ||||
| 
 | ||||
|             auto request = | ||||
|                 Aws::S3::Model::GetObjectRequest() | ||||
|  | @ -189,7 +189,7 @@ struct S3BinaryCacheStoreImpl : public S3BinaryCacheStore | |||
| 
 | ||||
|                 auto now1 = std::chrono::steady_clock::now(); | ||||
| 
 | ||||
|                 auto result = checkAws(format("AWS error fetching '%s'") % path, | ||||
|                 auto result = checkAws(format("AWS error fetching ‘%s’") % path, | ||||
|                     client->GetObject(request)); | ||||
| 
 | ||||
|                 auto now2 = std::chrono::steady_clock::now(); | ||||
|  | @ -198,7 +198,7 @@ struct S3BinaryCacheStoreImpl : public S3BinaryCacheStore | |||
| 
 | ||||
|                 auto duration = std::chrono::duration_cast<std::chrono::milliseconds>(now2 - now1).count(); | ||||
| 
 | ||||
|                 printMsg(lvlTalkative, format("downloaded 's3://%1%/%2%' (%3% bytes) in %4% ms") | ||||
|                 printMsg(lvlTalkative, format("downloaded ‘s3://%1%/%2%’ (%3% bytes) in %4% ms") | ||||
|                     % bucketName % path % res.size() % duration); | ||||
| 
 | ||||
|                 stats.getBytes += res.size(); | ||||
|  | @ -219,9 +219,9 @@ struct S3BinaryCacheStoreImpl : public S3BinaryCacheStore | |||
|         std::string marker; | ||||
| 
 | ||||
|         do { | ||||
|             debug(format("listing bucket 's3://%s' from key '%s'...") % bucketName % marker); | ||||
|             debug(format("listing bucket ‘s3://%s’ from key ‘%s’...") % bucketName % marker); | ||||
| 
 | ||||
|             auto res = checkAws(format("AWS error listing bucket '%s'") % bucketName, | ||||
|             auto res = checkAws(format("AWS error listing bucket ‘%s’") % bucketName, | ||||
|                 client->ListObjects( | ||||
|                     Aws::S3::Model::ListObjectsRequest() | ||||
|                     .WithBucket(bucketName) | ||||
|  | @ -230,7 +230,7 @@ struct S3BinaryCacheStoreImpl : public S3BinaryCacheStore | |||
| 
 | ||||
|             auto & contents = res.GetContents(); | ||||
| 
 | ||||
|             debug(format("got %d keys, next marker '%s'") | ||||
|             debug(format("got %d keys, next marker ‘%s’") | ||||
|                 % contents.size() % res.GetNextMarker()); | ||||
| 
 | ||||
|             for (auto object : contents) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue