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