OpenBSD/src bPEKg0g — usr.sbin/pkg_add/OpenBSD Error.pm AddDelete.pm
a bunch of changes, all related to error-handling: - have Handle->register also create a proper END block, so that individual packages don't have to, and explain the issue - kill old Unlink/Copy code that migrated to State years ago - commonalize try{} catch {} for pkg_add/delete and pkg_create, so that debug works the same way in both. - switch printing command name to the catch handler, so that exceptions are simpler to handle and a few comments for the hairy parts...
Version | Delta | File | |
---|---|---|---|
1.34 | +37 | -96 | usr.sbin/pkg_add/OpenBSD/Error.pm |
1.88 | +25 | -41 | usr.sbin/pkg_add/OpenBSD/AddDelete.pm |
1.161 | +29 | -29 | usr.sbin/pkg_add/OpenBSD/PkgCreate.pm |
1.45 | +20 | -1 | usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm |
1.35 | +7 | -9 | usr.sbin/pkg_add/OpenBSD/Temp.pm |
1.165 | +4 | -10 | usr.sbin/pkg_add/OpenBSD/PackageRepository.pm |
1.59 | +2 | -2 | usr.sbin/pkg_add/OpenBSD/State.pm |
+124 | -188 | 7 files |