Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.0-beta-3
-
None
Description
It seems like all scm providers are dealing with relative paths, rather than absolute repository paths. PerforceCheckOutCommand is definitely doing this. PerforceChangeLogConsumer, however, does not, which means ChangeSet.containsFilename always returns false because it's comparing a relative path to an absolute one.
There are two changes. First, in PerforceChangeLogCommand:
PerforceChangeLogConsumer consumer = new PerforceChangeLogConsumer( ((PerforceScmProviderRepository) repo).getPath(), startDate, endDate );
The attached diff is for the second set of changes, which are to PerforceChangeLogConsumer.