Actions
Defect #8030
openBazaar integration doesn't notice new commits to repository
Status:
New
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2011-03-31
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
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
Related issues
Actions