プロジェクト

全般

プロフィール

Vote #69605

未完了

Bazaar integration doesn't notice new commits to repository

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
SCM_3
対象バージョン:
-
開始日:
2011/03/31
期日:
進捗率:

0%

予定工数:
category_id:
3
version_id:
0
issue_org_id:
8030
author_id:
31292
assigned_to_id:
0
comments:
5
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
31
ステータス-->[New]

説明

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 ". 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

journals

Is it the same as #6681 ?
--------------------------------------------------------------------------------
Please see #2799.
--------------------------------------------------------------------------------
Yes, it seems to be related to #6681 but I don't know how it relates to #2799 except that people tries to make bazaar integration better.

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.
--------------------------------------------------------------------------------
Trac Hook for Bazaar Repository
http://trac.ultimania.org/trac/bzr-doc-ja/browser/bzr-trac-hook/trunk/README_ja#L71
> *Japanese:*
> Tracと連携する場合、Bazaarはappend_revisions_onlyオプションを指定して運用する必要があります。
>
> *English:*
> If you want to work with Trac, Bazaar needs to set *append_revisions_only* option.
--------------------------------------------------------------------------------
Trunk revnos have become dotted
http://old.nabble.com/Trunk-revnos-have-become-dotted-td31352132.html
--------------------------------------------------------------------------------


related_issues

relates,Closed,6681,Mercurial, Bazaar and Darcs auto close issue text should be commit id instead of revision number
relates,Closed,3724,Mercurial repositories display revision ID instead of changeset ID
relates,New,2799,Support for Bazaar's shared reposetories (created with init-repo)
relates,New,7984,Confusing revisions links on repository root

Admin Redmine さんが約2年前に更新

  • カテゴリSCM_3 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0