crecord: add a default regex to curseschunkselector
Whether there is a regex to search or not will affect if we can find
the next or the previous search hit.
--- a/mercurial/crecord.py Wed Feb 14 22:43:51 2024 -0500
+++ b/mercurial/crecord.py Wed Feb 14 22:46:41 2024 -0500
@@ -709,6 +709,8 @@
)
self.operation = operation
+ self.regex = None
+
def uparrowevent(self):
"""
try to select the previous item to the current item that has the