I'll think about this some more, but your two suggestions are good ones. It might also be helpful to mention in the help for checkout that doing a remove branch will remove the parent. It's probably a good idea to request confirmation whenever the user executes a command that could destroy data, but I don't know how effective the usual "are you sure?" prompts really are; probably better than nothing.
I'll think about this some more, but your two suggestions are good ones. It might also be helpful to mention in the help for checkout that doing a remove branch will remove the parent. It's probably a good idea to request confirmation whenever the user executes a command that could destroy data, but I don't know how effective the usual "are you sure?" prompts really are; probably better than nothing.