Interface NoContextVcsWorkingCopyManager

    • Method Detail

      • updateToLatestRevision

        @NotNull
        @NotNull VcsWorkingCopy updateToLatestRevision​(@NotNull
                                                       @NotNull VcsRepositoryData repositoryData,
                                                       @NotNull
                                                       @NotNull File targetPath)
                                                throws RepositoryException
        Checkout or update a working copy to the latest revision.
        Parameters:
        repositoryData - - configuration of a repository to checkout/update
        targetPath - - workings copy's path. Note that some legacy implementation may ignore this parameter. (see FixedDirectoryWorkingCopyManager)
        Returns:
        object representing created/updated working copy
        Throws:
        RepositoryException
      • updateToLatestRevisionForSpecs

        @NotNull
        default @NotNull VcsWorkingCopy updateToLatestRevisionForSpecs​(@NotNull
                                                                       @NotNull VcsRepositoryData repositoryData,
                                                                       @NotNull
                                                                       @NotNull File targetPath)
                                                                throws RepositoryException
        Checkout or update a working copy to the latest revision. The method is desired to work with Specs.
        Parameters:
        repositoryData - - configuration of a repository to checkout/update
        targetPath - - workings copy's path. Note that some legacy implementation may ignore this parameter. (see FixedDirectoryWorkingCopyManager)
        Returns:
        object representing created/updated working copy
        Throws:
        RepositoryException
        Since:
        9.3