/** * Accept tags for any CVS resource. However, for the time being, the given version tags are added * to the list of known tags for the remote ancestor of the resource that is a direct child of the * remote root */ public void addTags(ICVSResource resource, CVSTag[] tags) throws CVSException { RepositoryRoot root = getRepositoryRootFor(resource); // XXX could be a file or folder String remotePath = RepositoryRoot.getRemotePathFor(resource); root.addTags(remotePath, tags); broadcastRepositoryChange(root); }
/** Remove the given tags from the list of known tags for the given remote root. */ public void removeTags(ICVSFolder project, CVSTag[] tags) throws CVSException { RepositoryRoot root = getRepositoryRootFor(project); String remotePath = RepositoryRoot.getRemotePathFor(project); root.removeTags(remotePath, tags); broadcastRepositoryChange(root); }
public String[] getAutoRefreshFiles(ICVSFolder project) throws CVSException { RepositoryRoot root = getRepositoryRootFor(project); String remotePath = RepositoryRoot.getRemotePathFor(project); return root.getAutoRefreshFiles(remotePath); }
public void setAutoRefreshFiles(ICVSFolder project, String[] filePaths) throws CVSException { RepositoryRoot root = getRepositoryRootFor(project); String remotePath = RepositoryRoot.getRemotePathFor(project); root.setAutoRefreshFiles(remotePath, filePaths); }
public CVSTag[] getKnownTags(ICVSFolder project) throws CVSException { RepositoryRoot root = getRepositoryRootFor(project); String remotePath = RepositoryRoot.getRemotePathFor(project); return root.getAllKnownTags(remotePath); }