]> git.saurik.com Git - apt.git/commitdiff
fix transactionid passing
authorMichael Vogt <mvo@debian.org>
Fri, 1 Aug 2014 09:46:16 +0000 (11:46 +0200)
committerMichael Vogt <mvo@debian.org>
Fri, 1 Aug 2014 09:46:16 +0000 (11:46 +0200)
apt-pkg/acquire-item.h
test/integration/test-apt-update-rollback

index f5a308c58f6c11c23f85be7ea53ad38d5c577253..e191e255471925a874fe3cea02aa6cc4f7e726f2 100644 (file)
@@ -540,7 +540,7 @@ class pkgAcqBaseIndex : public pkgAcquire::Item
                    struct IndexTarget const * const Target,
                    HashStringList const &ExpectedHashes,
                    indexRecords *MetaIndexParser)
-      : Item(Owner, ExpectedHashes), Target(Target), 
+      : Item(Owner, ExpectedHashes, TransactionID), Target(Target), 
         MetaIndexParser(MetaIndexParser) {};
 };
                                                                        /*}}}*/
index d7078d2176d5fbdc658e5d9c18cc8e3cced664d5..4eef2aecf634a4bdb182555c7edaf5bb4b1b306e 100755 (executable)
@@ -44,7 +44,6 @@ test_inrelease_to_new_inrelease() {
     testequal "old/unstable 1.0 all" apt list -q
 
     add_new_package
-    aptget update -o Debug::Acquire::Transaction=1
 
     testsuccess aptget update -o Debug::Acquire::Transaction=1