SVN Index Ignoring Changeset as It Does Not Contain Any File Revisions In The Watched Area

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

Changes have been made and committed but they are not reflected in Fisheye/Crucible. Messages of the following kind are logged (note that debug logging has been turned on):

EXAMPLE #1
2012-06-26 16:32:29,137 DEBUG [IncrementalPinger2 TestRepo] fisheye.app DiffChangeSetProcessor-processChangeSet - [TestRepo]: Ignoring changeset 99387; it does not contain any file revisions in the watched area
EXAMPLE #2
2012-06-26 16:32:29,137 DEBUG [InitialPinger1 DevRepo] fisheye.app DiffChangeSetProcessor-processChangeSet - [DevRepo]: Ignoring changeset 46942; it does not contain any file revisions in the watched area

原因

EXAMPLE #1

An "exclude" has been set up incorrectly in the repository.

EXAMPLE #2

An "include" has been set up incorrectly in the repository.

ソリューション

EXAMPLE #1

Remove the exclusion to allow the path to be indexed. Note that this will cause a re-index to occur.

Given the following repository information:

svn url="http://my/svn/storage/" path="testrepo/"

次のコマンドを実行します。

svn log -v -r 99387 http://my/svn/storage/testrepo

Expect the following result:

r99387 | drohan | 2012-06-26 16:31:03 -0500 (Tue, 26 Jun 2012) | 3 lines

Changed paths:
    A /testrepo/branches/ww-branch (from /testrepo/trunk:99386)

Create a branch on which to fix bugs

Determine if any exclude pattern matches the branch. In this case, the branch exclusion is:

<exclude pattern="/branches/w*" casesensitive="false"/>

EXAMPLE #2

Modify the inclusion to correctly identify the path. Note that this will cause a re-index to occur.

Given the following repository information:

svn url="http://subversion/repos" path=""

次のコマンドを実行します。

svn log -v -r 46942 http://subversion/repos 

Expect the following result:

r46942 | drohan | 2012-02-22 11:47:20 -0800 (Wed, 22 Feb 2012) | 1 line

Changed paths:
   M /branches/test_branch/San_Francisco/system/System.cpp

Determine if any include pattern almost matches the branch. In this case, the branch inclusion that needs to be modified:

<include tree="/San_Francisco" casesensitive="true"/>

The rationale is that by including "/San_Francisco", the revision path is not added since it is not the folder that comes right after the repo URL "http://subversion/repos". To include "/San_Francisco" you will need to use "/branches/test_branch/San_Francisco" or if the intent is to add the entire branch use "/branches/test_branch".

 

参考

Include Exclude paths

 

最終更新日 2018 年 7 月 31 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.