aboutsummaryrefslogtreecommitdiffstats
path: root/check_trans.pl
diff options
context:
space:
mode:
authorSteve McIntyre <steve@einval.com>2018-06-08 21:48:39 +0100
committerSteve McIntyre <steve@einval.com>2018-06-08 21:48:39 +0100
commitf16e86976db51d5be36cb94d1895a41cedf73117 (patch)
treed83fcf8685d94dfd4afb37ed525f7276fce16886 /check_trans.pl
parent4e1184f1f84ddd19d74c428d19256230f0f83685 (diff)
Explicitly generate a cache when starting check_trans.pl
Well worth the time taken to improve performance
Diffstat (limited to 'check_trans.pl')
-rwxr-xr-xcheck_trans.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/check_trans.pl b/check_trans.pl
index 3a3980e7e9c..e8020d84a32 100755
--- a/check_trans.pl
+++ b/check_trans.pl
@@ -176,6 +176,9 @@ sub verbose;
my $subdir = $OPT{'s'} || undef;
my $VCS = Local::VCS->new();
+ print "Caching VCS for performancs...\n";
+ $VCS->cache_repo();
+ print " ...done\n";
# Global .transignore
my $transignore = Webwml::TransIgnore->new($VCS->get_topdir());

© 2014-2024 Faster IT GmbH | imprint | privacy policy