annotate netinstall/version.pl @ 5244:04811a268716

Be clearer in our error messages, #'canonicalize-inst-pair, #'canonicalize-spec lisp/ChangeLog addition: 2010-08-15 Aidan Kehoe <kehoea@parhasard.net> * specifier.el (canonicalize-inst-pair, canonicalize-spec): If a specifier tag set is correct, but an instantiator is not in an accepted format, don't error with the message "Invalid specifier tag set". Also, when we error, use error-symbols, for better structured error handling and more ease when testing. tests/ChangeLog addition: 2010-08-15 Aidan Kehoe <kehoea@parhasard.net> * automated/lisp-tests.el: (not, not, invalid-argument, invalid-argument): Check that error messages from the image specifier instantiator code are clearer than they used to be.
author Aidan Kehoe <kehoea@parhasard.net>
date Sun, 15 Aug 2010 15:42:45 +0100
parents 3078fd1074e8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
448
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
1 while (<STDIN>) {
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
2 if (/^\$Revision:\s*([0-9\.]*)/) {
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
3 print "char *version = \"$1\";\n";
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
4 print "static char *id = \"\\n%%% setup-version $1\\n\";\n";
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
5 }
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
6 }