[Po4a-commits] "po4a NEWS, 1.119, 1.120 changelog, 1.538, 1.539 po4a, 1.89, 1.90"
Nicolas FRANÃOIS
nekral-guest at alioth.debian.org
Wed Jan 13 23:51:16 UTC 2010
Update of /cvsroot/po4a/po4a
In directory alioth:/tmp/cvs-serv32283
Modified Files:
NEWS changelog po4a
Log Message:
* Exit with an error if master file specified in a po4a configuration
file does not exist.
Index: NEWS
===================================================================
RCS file: /cvsroot/po4a/po4a/NEWS,v
retrieving revision 1.119
retrieving revision 1.120
diff -u -d -r1.119 -r1.120
--- NEWS 30 Dec 2009 21:59:36 -0000 1.119
+++ NEWS 13 Jan 2010 23:51:13 -0000 1.120
@@ -2,7 +2,11 @@
=======================================================================
-* Major changes in release 0.38 (2009-12-30)
+* Major changes in release 0.38 (2010-01-14)
+
+po4a
+ * Exit with an error if master file specified in a po4a configuration
+ file does not exist.
po4a, po4a-updatepo:
* --previous is activated by default.
Index: po4a
===================================================================
RCS file: /cvsroot/po4a/po4a/po4a,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- po4a 30 Dec 2009 21:12:31 -0000 1.89
+++ po4a 13 Jan 2010 23:51:13 -0000 1.90
@@ -740,6 +740,9 @@
"configuration file. This may cause problems with ".
"options."), $main)
unless ($po4a_opts{"quiet"});
+ } elsif (not -e $main) {
+ die wrap_ref_mod("$config_file:$nb", "",
+ gettext("The '%s' master file does not exist."), $main);
}
$document{$main}{'format'} = $1;
$document{$main}{'pos'} = $doc_count;
Index: changelog
===================================================================
RCS file: /cvsroot/po4a/po4a/changelog,v
retrieving revision 1.538
retrieving revision 1.539
diff -u -d -r1.538 -r1.539
--- changelog 5 Jan 2010 20:18:36 -0000 1.538
+++ changelog 13 Jan 2010 23:51:13 -0000 1.539
@@ -1,3 +1,7 @@
+2010-01-14 Nicolas François <nicolas.francois at centraliens.net>
+
+ * po4a: Check earlier if master files exist.
+
2010-01-05 Nicolas François <nicolas.francois at centraliens.net>
* lib/Locale/Po4a/Xhtml.pm: Remove outdated information. Xhtml is
More information about the Po4a-commits
mailing list