- When warning about missing headers, tell the user to let us
know if the compile succeeds anyway, so we can downgrade the
warning.
- - If we're building from a subversion repository, include the current
- SVN revision as part of the version string.
+ - If we're building from a subversion checkout or an SVK mirror, include
+ the current SVN revision as part of the version string.
o Minor features (logging):
- Always prepend "Bug: " to any log message about a bug.
sed -n 's/^Revision: \([0-9][0-9]*\).*/"\1"/p' > micro-revision.i \
|| true; \
fi; \
+ if test ! -f micro-revision.i -a x`which svk` != x; then\
+ location=../..; \
+ rev=x; \
+ while test x$$rev = xx; do \
+ x=`svk info $$location | \
+ sed -n 's/^Mirrored From:.*, Rev\. \([0-9][0-9]*\)/\1/p'`; \
+ if test x$$x != x; then \
+ rev=$$x; \
+ break; \
+ else \
+ loc=`svk info $$location | \
+ sed -n 's/^Copied From: \(.*\), Rev\. [0-9][0-9]*/\1/p'`; \
+ if test x$$loc == x; then \
+ rev=""; \
+ break; \
+ else \
+ location=/$$loc; \
+ fi; \
+ fi; \
+ done; \
+ echo \"$$rev\" > micro-revision.i; \
+ fi; \
if test ! -f micro-revision.i; then \
echo '""' > micro-revision.i; \
fi