collectChanges
public abstract void collectChanges(@Nullable
VcsRoot fromRepository,
@NotNull
RepositoryStateData fromState,
@NotNull
VcsRoot toRepository,
@NotNull
RepositoryStateData toState,
@NotNull
CheckoutRules checkoutRules,
@NotNull
ChangesConsumer consumer)
throws VcsException
Collect changes between repositories. FromRepository and fromState should be used
to determine a starting point in the toRepository, from which changes should be
collected. If fromRepository and toRepository are not related to each other, i.e. there
is no meaningful way to collect changes between them - implementation should
return an empty collection. Returned modifications should belong to the toRepository.
- Parameters:
fromRepository
- repository from which to collect changes
fromState
- start point for collecting changes in fromRepository
toRepository
- root to which changes should be collected
toState
- end point for collecting changes in toRepository
checkoutRules
- rules
consumer
- callback interface to submit collected changes
- Throws:
VcsException
- in the case of any errors