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

Set branch as current and set HEAD to special revision on this branch

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