jesfalso Posted November 24, 2008 Report Share Posted November 24, 2008 Hello, I am writing an application in java which uses Plastic SCM. I use the commands provided, but I wonder if there is any way of listing all the branches that exist in a repository. At least, I would like a way of knowing whether a branch or a repository exists in a server or not, just to make the program knows this and it can handle it. Thanks in advanced. Link to comment Share on other sites More sharing options...
dave Posted December 10, 2008 Report Share Posted December 10, 2008 Use the cm find command. For instance, to see if a branch exists on a repository: cm find branches where name = 'branchname' on repository 'myrepo' --format={name} You can also list the repositories: cm find workspacerepositories --format={name} The cm find --help command will give more details on the possibilities, basically all objects can be queried. Cheers, David Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.