Guest Posted January 14, 2008 Report Share Posted January 14, 2008 I have noticed that in order to use the branch per task pattern a lot of branches must be made and used over time, so is there any way to set seeing only the current branches?, I mean, could I filter or hide the old closed branches? Link to comment Share on other sites More sharing options...
Guest Posted January 14, 2008 Author Report Share Posted January 14, 2008 Yes, it can be easily done using the attributes, which is a new feature included in Plastic SCM version 2.0. What you would have to do is create a new attribute named for example status: cm setattribute att:status br:/main/task1 closed Now, if you want to hide the old closed branches, you would only have to filter depending on the attribute status, asking for the Link to comment Share on other sites More sharing options...
Borja Posted January 14, 2008 Report Share Posted January 14, 2008 Yes, it can be easily done using the attributes, which is a new feature included in Plastic SCM version 2.0. What you would have to do is create a new attribute named for example status: cm setattribute att:status br:/main/task1 closed Now, if you want to hide the old closed branches, you would only have to filter depending on the attribute status, asking for the Link to comment Share on other sites More sharing options...
tsamstag Posted April 8, 2010 Report Share Posted April 8, 2010 cm find branch where attribute = 'status' and attrvalue != 'closed' This only shows branches that have a status attribute applied to them. Is there a way to find branches that do not have a specific attribute applied to them? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.