Interface CollectChangesBetweenRepositories

    • Method Detail

      • collectChanges

        @NotNull
        java.util.List<ModificationData> collectChanges​(@NotNull
                                                        VcsRoot fromRepository,
                                                        @NotNull
                                                        RepositoryStateData fromState,
                                                        @NotNull
                                                        VcsRoot toRepository,
                                                        @NotNull
                                                        RepositoryStateData toState,
                                                        @NotNull
                                                        CheckoutRules checkoutRules)
                                                 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
        Returns:
        collected changes
        Throws:
        VcsException - in the case of any errors