Greetings,
The following webrev contains fixes for the following issues:
7774 image history discarded when bootenv operations fail or succeed
8014 some exceptions have invalid __str__ method
http://cr.opensolaris.org/~swalker/pkg-7774/
Change Summary:
* Changed api to exclusively use log_operation_* methods history provides.
* Changed bootenv to reset the image root if it has been changed when
activation fails or when restore_* is called.
* Changed bootenv to trigger a write of the last operation's history to
the new image before unmounting.
* Added ability to create and restore a snapshot of image history state
to the History class.
* Cleaned up operation result determination by adding additional
exceptions to history's internal index.
* Added __copy__ overrides to History objects to permit easy duplication
of them using the copy module.
* Added unit tests for new history snapshot functionality.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss