ferdBerful Posted July 27, 2016 Report Share Posted July 27, 2016 Questions about the command line program "cm" - Can labels be removed from an change set? - Is there a way to get a list of files in a repository under a directory? - Is a server path always the same as the path to the object from the root of the workspace? - Can I change the comment on a changeset with cm? Link to comment Share on other sites More sharing options...
mig Posted July 27, 2016 Report Share Posted July 27, 2016 - Can labels be removed from an change set? Yes, they can. You can use either the 'cm removelabel' command or the GUI. - Is there a way to get a list of files in a repository under a directory? Use the 'cm ls' command with the --tree parameter. Like this, for instance: cm ls /src/lib/foo --tree=br:/main/scm35681@myrepo@myserver:8087 The command above will print the contents of the /src/lib/foo directory as present in the latest changeset of branch /main/scm35681 in repository 'myrepo' at server 'myserver:8087'. - Is a server path always the same as the path to the object from the root of the workspace? The server path identifies the object location in a given server tree. Workspaces download the server tree contents by default, but customizations can be applied (cloaked files, transformable workspaces, etc.). - Can I change the comment on a changeset with cm? Unfortunately you can't. I'm afraid you'll need to use the GUI for that. Link to comment Share on other sites More sharing options...
ferdBerful Posted July 27, 2016 Author Report Share Posted July 27, 2016 Thank you. RE: - Can labels be removed from an change set? Yes, they can. You can use either the 'cm removelabel' command or the GUI. I am sorry . I don't think I was clear with my question. I'm asking if there is the equivalent of rmattributereal for labels in cm. Perhaps I'm not understanding how labels work. My understanding is that a specific label (like "myLabel") can be applied to more that one change set or workspace path. Is that correct? If not, then the answer to my question is as you say: 'cm removelabel' command Link to comment Share on other sites More sharing options...
ferdBerful Posted July 29, 2016 Author Report Share Posted July 29, 2016 Is there an equivalent of rmattributereal for labels in cm. Link to comment Share on other sites More sharing options...
ferdBerful Posted July 29, 2016 Author Report Share Posted July 29, 2016 Can a label be applied to more than one change set? If not, why is there a cm makelabel and cm label command? Link to comment Share on other sites More sharing options...
calbzam Posted August 2, 2016 Report Share Posted August 2, 2016 Hi, cm makelabel --> The command to create a label. There is an option to apply the label when creating it. cm label --> You can apply the label to a specific changeset. You can move the label to one changeset to others, you can apply different labels to the same changeset, but it's not possible to apply the same label to different changesets at the same time. Regards, Carlos. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.