Interface BuildPatchByIncludeRule

    • Method Detail

      • buildPatch

        void buildPatch​(VcsRoot root,
                        String fromVersion,
                        String toVersion,
                        PatchBuilder builder,
                        IncludeRule includeRule)
                 throws IOException,
                        VcsException
        Deprecated.
        Builds patch for the specified project subdirectory.
        Parameters:
        root - vcs settings.
        fromVersion - version to get sources differences from. If this version is null all sources should be taken.
        toVersion - version to get sources differences to.
        builder - patch builder.
        includeRule - include rule specifies VCS relative path to get sources. Implementation have to use only FileRule.getFrom() to get relative VCS path suffix to checkout. All other necessary path mappings are done implicitly by VcsSupportUtil
        Throws:
        IOException - exception occurred while operating with builder.
        VcsException - exception occurred while operating with version control.