From fcf52e170a5d84dae5f719f85b6427ddcecbea43 Mon Sep 17 00:00:00 2001 From: Steve McIntyre Date: Thu, 7 Jun 2018 00:54:53 +0100 Subject: More useful info when count_changes() fails Print the translation filename as well as the original filename --- touch_translations.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/touch_translations.pl b/touch_translations.pl index 0b3d90879d4..3f0942f7b18 100755 --- a/touch_translations.pl +++ b/touch_translations.pl @@ -112,7 +112,7 @@ foreach $lang (@langs) { $difference = $VCS->count_changes($argfile, $langrev, $origrev); if (!defined $difference) { - die "count_changes failed when looking at $argfile\n"; + die "count_changes failed when looking at $argfile as original for $transfile\n"; } if ($difference < $mindelta) { next unless was_forced($transfile); -- cgit v1.2.3