From 0525ef25305c7f48ef158ac19f68bae09c664d60 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Wed, 8 Jun 2022 20:41:20 +0000
Subject: latex2e (8jun22)

git-svn-id: svn://tug.org/texlive/trunk@63514 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/source/latex/base/ltvers.dtx | 30 +++++++++++++++++++-------
 1 file changed, 22 insertions(+), 8 deletions(-)

(limited to 'Master/texmf-dist/source/latex/base/ltvers.dtx')

diff --git a/Master/texmf-dist/source/latex/base/ltvers.dtx b/Master/texmf-dist/source/latex/base/ltvers.dtx
index 82f2034fda0..da9d3c590ef 100644
--- a/Master/texmf-dist/source/latex/base/ltvers.dtx
+++ b/Master/texmf-dist/source/latex/base/ltvers.dtx
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 1993-2021
+% Copyright (C) 1993-2022
 % The LaTeX Project and any individual authors listed elsewhere
 % in this file.
 %
@@ -33,7 +33,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltvers.dtx}
-             [2021/08/10 v1.1h LaTeX Kernel (Version Info)]
+             [2022/02/28 v1.1i LaTeX Kernel (Version Info)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltvers.dtx}
@@ -61,7 +61,7 @@
 % \LaTeX, and set |\everyjob| so that it is printed at the start of
 % every \LaTeX\ run.
 %
-% \StopEventually{}
+% \MaybeStop{}
 %
 % \changes{v1.0g}{1996/11/28}
 %     {Check for old format modified /2319}
@@ -112,10 +112,10 @@
 %</2ekernel>
 %<latexrelease>\edef\latexreleaseversion
 %<*2ekernel|latexrelease>
-   {2021-11-15}
+   {2022-06-01}
 %</2ekernel|latexrelease>
 %<*2ekernel>
-\def\patch@level{1}
+\def\patch@level{0}
 %    \end{macrocode}
 %
 % \begin{macro}{\development@branch@name}
@@ -125,7 +125,7 @@
 %    intended to help us internally when we locally install a
 %    format out of some development branch.
 %    \begin{macrocode}
-\edef\development@branch@name{}
+\edef\development@branch@name{develop \the\year-\the\month-\the\day}
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
@@ -365,6 +365,8 @@
 %   \changes{v1.1f}{2021/03/18}{Added \cs{NewModuleRelease}.}
 %   \changes{v1.1g}{2021/04/16}
 %           {\cs{NewModuleRelease} with the same arguments as \cs{IncludeInRelease}.}
+%   \changes{v1.1i}{2022/02/28}
+%           {Detect a missing \cs{IncludeInRelease}\texttt{\{0000/00/00\}}.}
 %    \begin{macrocode}
 \let\if@skipping@module\iffalse
 \def\@skipping@moduletrue{\let\if@skipping@module\iftrue}
@@ -379,7 +381,7 @@
   \GenericInfo{}{BEGIN module: \new@modulename\space (\new@moduledate)}%
   \GenericInfo{}{ \@spaces\@spaces\@spaces\space#3\@gobble}%
   \ifnum\sourceLaTeXdate<%
-      \expandafter\@parse@version\new@moduledate//00\@nil\relax
+        \expandafter\@parse@version\new@moduledate//00\@nil\relax
     \ifnum\expandafter\@parse@version\fmtversion//00\@nil<%
           \expandafter\@parse@version\new@moduledate//00\@nil\relax
       \GenericInfo{}{Skipping module \new@modulename}%
@@ -394,7 +396,19 @@
     \@skipping@moduletrue
     \expandafter\new@module@skip
   \fi}
-\long\def\new@module@skip#1\IncludeInRelease{\IncludeInRelease}
+\long\def\new@module@skip#1\IncludeInRelease{%
+  \long\def\reserved@a##1\EndModuleRelease{}%
+  \if\relax\detokenize\expandafter{\reserved@a#1{}{}\EndModuleRelease}\relax
+  \else
+    \@latex@error{Missing mandatory \string\IncludeInRelease{0000/00/00}}\@ehc
+    \expandafter\@secondoftwo
+  \fi
+  \@gobble
+    {\@expandtwoargs\IncludeInRelease
+         {0000/00/00}{\new@modulename}%
+         {ERROR! Emergency recovery}%
+     #1}%
+  \IncludeInRelease}
 \def\EndModuleRelease{%
   \ifx\new@modulename\@empty
     \@latex@error{Extra \string\EndModuleRelease.}\@eha
-- 
cgit v1.2.3

