I would like to see a flag added to the "open" command that makes it possible to specify which branch or version is to be written out on the initial checkout.

When an initial checkout is done using the "open" command, the command's behavior in terms of which branch is checked out is undocumented.  Observation suggests that the checked-out branch is the last one to have something checked in to it.  If that's not the desired branch then an extra action is required, like using the "checkout" command.

I would like to a) save a step and b) be very conservative about what code appears on my drive.  If I'm deploying to a production server, I don't want non-vetted code to be written out, even transiently.  A failure anywhere along the deploy process might leave exploitable code or sensitive information lying about.  Thus I would like to be able to specify the branch/version used by the open command so as to have complete control at all times over what code exists in my checkout directory.