diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2019-07-17 19:00:56 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2019-07-17 19:00:56 +0000 |
commit | 249dc6878617b9aa800a6c7b9c5feb02da7ade22 (patch) | |
tree | 463dcc672803594f49cd1d2e80e4640e283ba6b5 /usr.sbin/pkg_add/pkg_check.8 | |
parent | 2b5caba4f1317bfab009f283e381f68e92512bf1 (diff) |
backout previous commits for now; some of this is shared with dpb and
results in problems. hints from pvk@ about what introduced the breakage
we were seeing, who confirms that this backout fixes things; comitting
early to unbreak package builds.
====
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...
Members:
OpenBSD/AddCreateDelete.pm:1.44->1.45
OpenBSD/AddDelete.pm:1.87->1.88
OpenBSD/Error.pm:1.33->1.34
OpenBSD/PackageRepository.pm:1.164->1.165
OpenBSD/PkgCreate.pm:1.160->1.161
OpenBSD/State.pm:1.58->1.59
OpenBSD/Temp.pm:1.34->1.35
====
Diffstat (limited to 'usr.sbin/pkg_add/pkg_check.8')
0 files changed, 0 insertions, 0 deletions