interfaces: convert `repository.iverifyproblem` from zope `Attribute` attrs
This is the same transformation as b455dfddfed0 did for dirstate.
--- a/mercurial/interfaces/repository.py Tue Oct 22 17:02:21 2024 -0400
+++ b/mercurial/interfaces/repository.py Tue Oct 22 17:07:23 2024 -0400
@@ -447,18 +447,17 @@
Instances are essentially messages associated with severity.
"""
- warning = interfaceutil.Attribute(
- """Message indicating a non-fatal problem."""
- )
-
- error = interfaceutil.Attribute("""Message indicating a fatal problem.""")
-
- node = interfaceutil.Attribute(
- """Revision encountering the problem.
-
- ``None`` means the problem doesn't apply to a single revision.
- """
- )
+ warning: bytes | None
+ """Message indicating a non-fatal problem."""
+
+ error: bytes | None
+ """Message indicating a fatal problem."""
+
+ node: bytes | None
+ """Revision encountering the problem.
+
+ ``None`` means the problem doesn't apply to a single revision.
+ """
class irevisiondelta(Protocol):