summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/tlpkg/TeXLive/TLTREE.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLTREE.pm b/Master/tlpkg/TeXLive/TLTREE.pm
index 8b508bef634..39c650665b6 100644
--- a/Master/tlpkg/TeXLive/TLTREE.pm
+++ b/Master/tlpkg/TeXLive/TLTREE.pm
@@ -64,7 +64,7 @@ sub _initialize_lines {
chomp($l);
next if ($l =~ /^\?/); # ignore files not under version control
if ($l =~ /^(.)(.)(.)(.)(.)(.)..\s*(\d+)\s+([\d\?]+)\s+([\w\?]+)\s+(.+)$/) {
- my $lastchanged = $8;
+ my $lastchanged = ($8 eq "?" ? 1 : $8);
my $entry = "$10";
next if -d $entry; # TODO: what to do with links???
$self->{'_allfiles'}{$entry}{'lastchangedrev'} = $lastchanged;