Home | History | Annotate | Download | only in common_lib

Lines Matching full:branch

165         @param remote_branch: Specify the remote branch to clone. None if to
166 clone master branch.
222 Reset repo to the given branch or git sha.
224 @param branch_or_sha: Name of a local or remote branch or git sha.
269 everything so that local repo reflects the upstream branch requested.
271 @param remote_branch: branch to check out.
334 Get the top commit hash of the current local git branch.
336 @return: Top commit hash of local git branch
345 Get the top commit hash of the current remote git branch.
347 @return: Top commit hash of remote git branch
358 Return whether this branch is out of date with regards to remote branch.
360 @return: False, if the branch is outdated, True if it is current.
438 Check out the git commit id, branch, or tag given by remote.
440 Optional give the local branch name as local.
457 raise error.CmdError('Failed to checkout git branch', gitlog)
473 cmd = 'branch --no-color'
482 raise error.CmdError('Failed to get git branch', gitlog)
486 branch
488 return branch