summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/svn-prov
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-04-27 01:00:18 +0000
committerKarl Berry <karl@freefriends.org>2010-04-27 01:00:18 +0000
commite3e5b0d13853ec7695e9288b3702a052018b7812 (patch)
treef5d5a1e166072f1b6f71b9645d7e3e02dce5807a /Master/texmf-dist/tex/latex/svn-prov
parent82ee4d7b302cb88448593a12e6fd2ae6b0539402 (diff)
svn-prov update (25apr10)
git-svn-id: svn://tug.org/texlive/trunk@18017 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/svn-prov')
-rw-r--r--Master/texmf-dist/tex/latex/svn-prov/svn-prov.sty20
1 files changed, 9 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/svn-prov/svn-prov.sty b/Master/texmf-dist/tex/latex/svn-prov/svn-prov.sty
index 3a4797fadd9..8a1a075fca6 100644
--- a/Master/texmf-dist/tex/latex/svn-prov/svn-prov.sty
+++ b/Master/texmf-dist/tex/latex/svn-prov/svn-prov.sty
@@ -74,12 +74,16 @@
\svnprov@splitfilename{#2}%
\def\svnprov@filerev@{#3}%
\def\svnprov@filedate@{#4/#5/#6}%
+ \def\svnprov@filetoday@{\svnprov@@today{#4}{#5}{#6}}%
\def\next{\begingroup\svnprov@catcodes\svnprov@buildstring}%
\fi
\fi
\expandafter\next\svnprov@gobblerest
}% $
\endgroup
+\def\svnprov@@today#1#2#3{%
+ {\year#1\month#2\day#3\relax\today}%
+}
\def\svnprov@splitfilename#1{%
\edef\g@tempa{#1}%
\let\svnprov@filebase@\@gobble
@@ -158,7 +162,7 @@
\let\filerev\svnprov@filerev@
\let\fileversion\svnprov@fileversion@
\let\fileinfo\svnprov@filedesc@
- \expandafter\svnprov@settoday@\svnprov@filedate@\relax
+ \let\filetoday\svnprov@filetoday@
\else
\expandafter\let\expandafter\@gtempa\csname#1@short\endcsname%
\ifx\@gtempa\relax
@@ -173,17 +177,9 @@
\expandafter\let\expandafter\filerev \csname\@gtempa @rev\endcsname
\expandafter\let\expandafter\fileversion\csname\@gtempa @version\endcsname
\expandafter\let\expandafter\fileinfo\csname\@gtempa @info\endcsname
- \@ifundefined{\@gtempa @date}%
- {\def\filetoday{?}}%
- {\expandafter\expandafter\expandafter\svnprov@settoday@\csname\@gtempa @date\endcsname\relax}%
+ \expandafter\let\expandafter\filetoday\csname\@gtempa @today\endcsname
\fi
}
-\def\svnprov@settoday@#1/#2/#3\relax{%
- \def\filetoday{{%
- \year#1\month#2\day#3\relax
- \today
- }}%
-}
\newcommand*\DefineFileInfoSVN[1][\svnprov@filemask]{%
\expandafter
\edef\csname\svnprov@filemask @short\endcsname{#1}%
@@ -201,6 +197,8 @@
\let\csname#1@rev\endcsname\svnprov@filerev@
\expandafter
\let\csname#1@info\endcsname\svnprov@filedesc@
+ \expandafter
+ \let\csname#1@today\endcsname\svnprov@filetoday@
}
\def\svnprov@getversion#1{%
\edef\@tempa{#1\space}%
@@ -224,7 +222,7 @@
\gdef\svnprov@filedesc@{#1}%
}
\def\svnprov@zapspace#1 \svnprov@endmarker{#1}
-\ProvidesPackageSVN{$Id: svn-prov.dtx 1858 2010-04-14 18:30:31Z martin $}%
+\ProvidesPackageSVN{$Id: svn-prov.dtx 1862 2010-04-24 14:19:07Z martin $}%
[\svnprov@version\space Package Date/Version from SVN Keywords]
\DefineFileInfoSVN[svnprov]