Bazaar integration doesn't notice new commits to repository
Redmine fetches new revisions from repository to its own database when revision identifier in db is lower then in current branch of repository.
For finding out revision identifier it uses "bzr revno <tree>". However, this number in bazaar is not guaranteed to be unique and may actually decrease(see http://wiki.bazaar.canonical.com/Revision). In this case, system will not notice new entries in history of repository.
Redmine should probably use "revision id" instead of "revision number" or (maybe not better, but I think easier and sufficient) date of last commit.
To get revision id and timestamp of last commit you can do:
bzr log --show-ids -r last:1
#3 Updated by Radosław Grzanka over 9 years ago
I don't have shared repo or some very complicated setup. If two developers branches one repo and work on their copy they both increment revision numbers. Upon merge, it is not guaranteed that revno will be greater then previously in "central" repo - this assumption is wrong.
#4 Updated by Toshi MARUYAMA over 9 years ago
Trac Hook for Bazaar Repository
If you want to work with Trac, Bazaar needs to set append_revisions_only option.
#5 Updated by Toshi MARUYAMA over 9 years ago
Trunk revnos have become dotted