[Aptitude-svn-commit] r3695 - in branches/aptitude-0.3/aptitude: .
src
Daniel Burrows
dburrows at costa.debian.org
Tue Jul 26 05:21:19 UTC 2005
Author: dburrows
Date: Tue Jul 26 05:21:15 2005
New Revision: 3695
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/pkg_grouppolicy.cc
Log:
Make sure that the first entry in a tree gets added to it.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Tue Jul 26 05:21:15 2005
@@ -1,5 +1,12 @@
2005-07-25 Daniel Burrows <dburrows at debian.org>
+ * src/pkg_grouppolicy.cc:
+
+ In the custom pattern-based grouping policy, when creating a new
+ subtree of the current tree, make sure to actually add the
+ object that triggered the creation of the subtree to the new
+ subtree.
+
* src/generic/tasks.cc:
For some reason, pkgTagSection.Scan() requires one more than the
Modified: branches/aptitude-0.3/aptitude/src/pkg_grouppolicy.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/pkg_grouppolicy.cc (original)
+++ branches/aptitude-0.3/aptitude/src/pkg_grouppolicy.cc Tue Jul 26 05:21:15 2005
@@ -1156,6 +1156,8 @@
root->add_child(tree);
subtrees[title]=subtree_pair(policy, tree);
+
+ policy->add_package(pkg, tree);
}
}
}
More information about the Aptitude-svn-commit
mailing list