texlive[59637] Master/texmf-dist/scripts/texlive/tlmgr.pl: insert
commits+karl at tug.org
commits+karl at tug.org
Sat Jun 19 17:17:39 CEST 2021
Revision: 59637
http://tug.org/svn/texlive?view=revision&revision=59637
Author: karl
Date: 2021-06-19 17:17:38 +0200 (Sat, 19 Jun 2021)
Log Message:
-----------
insert routine names in "strange," messages
Modified Paths:
--------------
trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl
Modified: trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl 2021-06-19 15:12:23 UTC (rev 59636)
+++ trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl 2021-06-19 15:17:38 UTC (rev 59637)
@@ -2574,7 +2574,8 @@
next if $removals_full{$p};
my $remotetlp = $remotetlpdb->get_package($p);
if (!defined($remotetlp)) {
- tlwarn("$prg: Strange, $p mentioned but not found anywhere!\n");
+ tlwarn("$prg:auto_remove_install_force_packages: strange, package "
+ . "mentioned but not found anywhere: $p\n");
next;
}
next if ($remotetlp->category ne "Collection");
@@ -4109,7 +4110,8 @@
if (@cand) {
my $first = shift @cand;
if (defined($first)) {
- tlwarn("$prg: strange, we have a first candidate but no tlp: $p\n");
+ tlwarn("$prg:show_one_package_list: strange, have first "
+ . "candidate but no tlp: $p\n");
return($F_WARNING);
}
# already shifted away the first element
@@ -4122,19 +4124,23 @@
my ($t,$r) = split(/\//, $a, 2);
my $tlp = $remotetlpdb->get_package($p, $t);
my $foo = $tlp->shortdesc;
- print " $t: ", defined($foo) ? $foo : "(shortdesc missing)" , "\n";
+ print " $t: ",
+ defined($foo) ? $foo : "(shortdesc missing)" , "\n";
}
return($F_WARNING);
} else {
- tlwarn("$prg: strange, package listed but no residual candidates: $p\n");
+ tlwarn("$prg:show_one_package_list: strange, package listed "
+ . "but no residual candidates: $p\n");
return($F_WARNING);
}
} else {
- tlwarn("$prg: strange, package listed but no candidates: $p\n");
+ tlwarn("$prg:show_one_package_list: strange, package listed but "
+ . "no candidates: $p\n");
return($F_WARNING);
}
} else {
- tlwarn("$prg: strange, package cannot be found in remote tlpdb: $p\n");
+ tlwarn("$prg:show_one_package_list: strange, package not found in "
+ . "remote tlpdb: $p\n");
return($F_WARNING);
}
}
@@ -4189,7 +4195,8 @@
# useless test, @cand will always be defined because $remotetlpdb is virtual
my $first = shift @cand;
if (defined($first)) {
- tlwarn("$prg: strange, we have a first candidate but no tlp: $pkg\n");
+ tlwarn("$prg:show_one_package_detail: strange, have first candidate "
+ . "but no tlp: $pkg\n");
return($F_WARNING);
}
# already shifted away the first element
More information about the tex-live-commits
mailing list.