« Reply #1666 on: 08 / August / 2022, 20:21:17 »
Here are two tested patches:
- the missing rebuild of stubs_auto.S for trunk 6109
- simplified SVN revision extraction including language independence
the goal are:
- independence of different messages from different svn versions
- independence of svnversion languages
- no error message in case of missing svnversion
procedure of patch:
- redirect any subversion error to null device, eg. svnversion is missing
- keep only digits and colon, this change any result stings to an empty value
- get valid revision number if is possible
- the result is revision number or empty value
- if result empty then use default revision 'DEF_SVN_REF' from buildconf.inc
Thanks. Added in revisions 6120 and 6121.

Logged
CHDK ports:
sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
g12 (1.00c, 1.00e, 1.00f & 1.00g)
sx130is (1.01d & 1.01f)
ixus310hs (1.00a & 1.01a)
sx40hs (1.00d, 1.00g & 1.00i)
g1x (1.00e, 1.00f & 1.00g)
g5x (1.00c, 1.01a, 1.01b)
g7x2 (1.01a, 1.01b, 1.10b)