hgext/fastannotate/context.py
changeset 51710 45d5e9a0f6a6
parent 51699 ca7bde5dbafb
child 51859 f4733654f144
--- a/hgext/fastannotate/context.py	Tue Jul 23 12:12:22 2024 +0200
+++ b/hgext/fastannotate/context.py	Thu Jul 18 19:01:55 2024 -0400
@@ -174,12 +174,16 @@
         'followmerge': True,
     }
 
+    diffopts: mdiff.diffopts
+    followrename: bool
+    followmerge: bool
+
     def __init__(self, **opts):
         for k, v in self.defaults.items():
             setattr(self, k, opts.get(k, v))
 
     @util.propertycache
-    def shortstr(self):
+    def shortstr(self) -> bytes:
         """represent opts in a short string, suitable for a directory name"""
         result = b''
         if not self.followrename: