Bazaar: Automatic file modification on commit with the modification committed
问题 I would like bazaar to write revision number on commit to a file in the committed branch so that this modification is included in the commit. I looked at hooks but the pre_commit hook is only run after the changeset is created, thus the modification performed by it is not committed. I found a related question: Bazaar: Modify file content before commit via hook? , however, the proposed bzr-keywords solution does not work either as its write conversion is not applied on commit: ``bzr commit``