# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 2024-02-15 03:46:41 # 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 --git a/mercurial/crecord.py b/mercurial/crecord.py --- a/mercurial/crecord.py +++ b/mercurial/crecord.py @@ -709,6 +709,8 @@ class curseschunkselector: ) self.operation = operation + self.regex = None + def uparrowevent(self): """ try to select the previous item to the current item that has the