Same happens with Percona Server as well. Hit it while trying ot build 5.6.25 RPM on Fedora, then just checked the code:
openxs@ao756:/tmp/xb$ grep bzr ~/git/percona-server/build-ps/build-rpm.sh REVISION="$(cd "$SOURCEDIR"; bzr revno)"
Same happens with Percona Server as well. Hit it while trying ot build 5.6.25 RPM on Fedora, then just checked the code:
openxs@ ao756:/ tmp/xb$ grep bzr ~/git/percona- server/ build-ps/ build-rpm. sh
REVISION="$(cd "$SOURCEDIR"; bzr revno)"