]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-item.cc
* bugfix/updates in the rred.cc code (big thanks for helping Robert!)
[apt.git] / apt-pkg / acquire-item.cc
index 43d29c737567e8ca36b86a88f5aa52017f548d1d..b8886a750aafa84ee5dc178a84bb55f0c9a5c2cb 100644 (file)
@@ -255,6 +255,7 @@ void pkgAcqIndexDiffs::Finish(bool allDone)
 
 bool pkgAcqIndexDiffs::QueueNextDiff()
 {
+
    // calc sha1 of the just patched file
    string FinalFile = _config->FindDir("Dir::State::lists");
    FinalFile += URItoFileName(RealURI);
@@ -263,6 +264,9 @@ bool pkgAcqIndexDiffs::QueueNextDiff()
    SHA1Summation SHA1;
    SHA1.AddFD(fd.Fd(), fd.Size());
    string local_sha1 = string(SHA1.Result());
+   if(Debug)
+      std::clog << "QueueNextDiff: " 
+               << FinalFile << " (" << local_sha1 << ")"<<std::endl;
 
    // remove all patches until the next matching patch is found
    // this requires the Index file to be ordered