Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Determining the path for changed files.

We are trying to fetch the folder paths for the changed files using

IBaselineConnection.configuration().determineAncestorsInHistory(itemslist, null) or locateAncestors(itemslist, null).

So for eg: the changed items are

1. a/b/c/d/1.txt
2. a/b/c/d/e/f/g/2.txt
3. a/h/i/j/3.txt

then the NameItemPair(s) in the AncestorReportImpl is returned NULL for item #2 . I am thinking it is because the path for item#2 is already traversed (till "a/b/c/d") for item # 1.

So i tried with list of file items with no sharing of paths as is the case above, and the ancestor report contained a non-null NameItemPair.

1

0 votes



One answer

Permanent link
I am also seeing the NULL NameItemPair problem (for both items) with:

1. a/b/c/d/1.txt
2. a/b/c/e/2.txt

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,952

Question asked: Feb 15 '12, 5:21 a.m.

Question was seen: 5,416 times

Last updated: Feb 15 '12, 5:21 a.m.

Confirmation Cancel Confirm