This appears correct. Is the same bug present in the revert code?
- Bart
--
Bart Smaalders Solaris Kernel Performance
bart.sm...@oracle.com http://blogs.oracle.com/barts
"You will contribute more with Mercurial than with Thunderbird."
"Civilization advances by extending the number of important
operations which we can perform without thinking about them."
_______________________________________________
pkg-discuss mailing list
pkg-d...@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
plan_revert() does appear to have the same issue; verify() and repair()
seem to be correct.
t_pkgsign.py also needs a copyright update.
Otherwise, looks right to me as well.
-Shawn
> t_pkgsign.py also needs a copyright update.
>
> Otherwise, looks right to me as well.
Thanks for the reviews,
Brock
It adds a test case for revert and fixes that issue as well.
Brock
Only two questions:
1) does the new revert test fail without your fix?
2) does revert fail (as expected) if you attempt to revert a file
that's supplied by a variant that isn't currently applicable to the image?
I'm going to go ahead and put this back.
Brock
I believe you are able to revert files that have been removed but should
exist, so I thought it was relevant to ask.
It was just a question really...
Thanks,