From 81273628cc3022641756b05e78256d59b7bd7c51 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 1 Aug 2014 11:46:16 +0200 Subject: [PATCH] fix transactionid passing --- apt-pkg/acquire-item.h | 2 +- test/integration/test-apt-update-rollback | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/apt-pkg/acquire-item.h b/apt-pkg/acquire-item.h index f5a308c58..e191e2554 100644 --- a/apt-pkg/acquire-item.h +++ b/apt-pkg/acquire-item.h @@ -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) {}; }; /*}}}*/ diff --git a/test/integration/test-apt-update-rollback b/test/integration/test-apt-update-rollback index d7078d217..4eef2aecf 100755 --- a/test/integration/test-apt-update-rollback +++ b/test/integration/test-apt-update-rollback @@ -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 -- 2.45.2