Ejemplo n.º 1
0
 /**
  * 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);
 }
Ejemplo n.º 2
0
 /** 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);
 }
Ejemplo n.º 3
0
 public String[] getAutoRefreshFiles(ICVSFolder project) throws CVSException {
   RepositoryRoot root = getRepositoryRootFor(project);
   String remotePath = RepositoryRoot.getRemotePathFor(project);
   return root.getAutoRefreshFiles(remotePath);
 }
Ejemplo n.º 4
0
 public void setAutoRefreshFiles(ICVSFolder project, String[] filePaths) throws CVSException {
   RepositoryRoot root = getRepositoryRootFor(project);
   String remotePath = RepositoryRoot.getRemotePathFor(project);
   root.setAutoRefreshFiles(remotePath, filePaths);
 }
Ejemplo n.º 5
0
 public CVSTag[] getKnownTags(ICVSFolder project) throws CVSException {
   RepositoryRoot root = getRepositoryRootFor(project);
   String remotePath = RepositoryRoot.getRemotePathFor(project);
   return root.getAllKnownTags(remotePath);
 }