proper exploration of older history: avoid premature fallback on current "rev" (see also d3d5cb2d6866, 6706d6f0afda);
authorwenzelm
Sat, 04 Nov 2023 16:48:51 +0100
changeset 78898 c93efa4b2a50
parent 78897 541ea5302200
child 78899 224aabe156f5
proper exploration of older history: avoid premature fallback on current "rev" (see also d3d5cb2d6866, 6706d6f0afda);
src/Pure/Admin/isabelle_cronjob.scala
--- a/src/Pure/Admin/isabelle_cronjob.scala	Sat Nov 04 16:45:16 2023 +0100
+++ b/src/Pure/Admin/isabelle_cronjob.scala	Sat Nov 04 16:48:51 2023 +0100
@@ -207,7 +207,6 @@
             if (longest_run.isEmpty) None
             else Some(longest_run(longest_run.length / 2).versions)
           }
-          else if (rev != "") Some((rev, afp_rev))
           else runs.flatten.headOption.map(_.versions)
         }