# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 1707968801 18000 # Node ID ed0b78b2a3aa2bd0829ed5f695b93f10d17ad2ef # Parent 1d488f7be492f17ad91b8bed577f7f758dfd396d 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. diff -r 1d488f7be492 -r ed0b78b2a3aa mercurial/crecord.py --- 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