API Reference > Namespaces > revision_control Namespace > Classes > RevisionControl Class > RevisionControl Methods > checkout Method > RevisionControl::checkout Method (OdString&)
RevisionControl::checkout Method (OdString&)
Syntax
C++
void checkout(const OdString& branch_name);
Parameters 
Description 
const OdString& branch_name 
[in] branch name to set as current note 

Set branch as current and set HEAD on the last revison of selected branch

Copyright © 2002–2020. Open Design Alliance. All rights reserved.