[Aptitude-devel] r3054 - in branches/aptitude-0.3/aptitude: . src/generic

Daniel Burrows dburrows@costa.debian.org
Sat, 23 Apr 2005 00:43:26 +0000


Author: dburrows
Date: Sat Apr 23 00:43:23 2005
New Revision: 3054

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/generic/aptcache.h
Log:
Documentation clarification

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Sat Apr 23 00:43:23 2005
@@ -1,5 +1,9 @@
 2005-04-22  Daniel Burrows  <dburrows@debian.org>
 
+	* src/generic/aptcache.h:
+
+	  Clarify the documentation of apply_current_solution.
+
 	* src/generic/aptcache.cc, src/generic/aptcache.h:
 
 	  Add an interface routine to easily apply the currently selected

Modified: branches/aptitude-0.3/aptitude/src/generic/aptcache.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/generic/aptcache.h	(original)
+++ branches/aptitude-0.3/aptitude/src/generic/aptcache.h	Sat Apr 23 00:43:23 2005
@@ -403,7 +403,8 @@
    *  solution.
    *
    *  \param undo an undo group in which to accumulate the actions of
-   *  the current solution.
+   *  the current solution.  If an exception is thrown, undo was not
+   *  used and can be discarded.
    *
    *  \throws NoMoreSolutions if there are no solutions and the search
    *  is exhausted.