summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-08-01 11:46:16 +0200
committerMichael Vogt <mvo@debian.org>2014-08-01 11:46:16 +0200
commit81273628cc3022641756b05e78256d59b7bd7c51 (patch)
treea9d4e43329fb5c009f8ea65bd87b1695db57c663
parent80976dd5452a9cfbe0c4f6229c729711ba685a5f (diff)
fix transactionid passing
-rw-r--r--apt-pkg/acquire-item.h2
-rwxr-xr-xtest/integration/test-apt-update-rollback1
2 files changed, 1 insertions, 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