'Set the state to the given identifier.
If identifier is None, checkout to the latest revision.
The type and format of identifier may change from VCS to VCS, so each
backend is responsible to understand it\'s identifiers.'

def checkout(self, identifier=None):

    self.check_working_dir()
