#NEWLINE# @ staticmethod #NEWLINE# def checkout( branch , create = False , cwd = TEMP_DIR ) : #NEWLINE# #INDENT# create = ( [ '--create-branch' ] if create else [ ] ) #NEWLINE# shell_out ( ( [ 'bzr' , 'switch' , branch ] + cwd ) , cwd = cwd )