There is currently no Surround SCM action for rmbranch. I can use the SurroundSCM Generic action, but if I include the “-d” parameter with rmbranch, which permanently deletes the branch, the sscm CLI prompts the user to confirm that they really want to do this. I’ve not been able to find a way to auto-respond to that prompt.
How would I go about doing this?
Hi Mark,
I don’t think it’s possible to prevent surround from prompting the user (at least I couldn’t find any such option in the cli reference). I suggest you ask on the surround forums if this is possible, and if not request for such a feature to be added.
.t8
I guess the other question would be, then, is there any way to direct input from a file to the surround scm generic action, so as to auto-respond to the prompt?
-Mark Shapiro
Mark - short answer is no. We’ve tried this type of technique with other actions (eg. PVCS) and we could never get it to work properly unfortunately.
.t8
I've created a custom action in FB5 that will successfully remove and destroy a Surround SCM branch. I tried uploading it to the community downloads site but was unable to (I sent an email to support for this.)
Once I've gotten it successfully uploaded, please feel free to look at how I did it and incorporate the action into a future build if FB5 if you so desire.
I've also created two other Surround SCM actions, which could be incorporated as well.
-Mark