parameters: ()
docstring: Returns the name of the magic branch that lets us know that DEPS is
    managing the update cycle.
docstring_summary: Returns the name of the magic branch that lets us know that DEPS is
    managing the update cycle.
docstring_tokens: Returns the name of the magic branch that lets us know that DEPS is managing the update cycle .
function: def GetGClientBranchName():
    """Returns the name of the magic branch that lets us know that DEPS is
    managing the update cycle."""
    # Is there an override branch specified?
    override_branch_name = GetOverrideShortBranchName()
    if not override_branch_name:
      return 'refs/heads/gclient' # No override, so return the default branch.
  
    # Verify that the branch from config exists.
    ref_branch = 'refs/heads/' + override_branch_name
    current_head = RunGit(['show-ref', '--hash', ref_branch])
    if current_head:
      return ref_branch
  
    # Inform the user about the problem and how to fix it.
    print ("The specified override branch ('%s') doesn't appear to exist." %
           override_branch_name)
    print "Please fix your git config value '%s'." % overide_config_name
    sys.exit(1)
function_tokens: def GetGClientBranchName ( ) : # Is there an override branch specified? override_branch_name = GetOverrideShortBranchName ( ) if not override_branch_name : return 'refs/heads/gclient' # No override, so return the default branch. # Verify that the branch from config exists. ref_branch = 'refs/heads/' + override_branch_name current_head = RunGit ( [ 'show-ref' , '--hash' , ref_branch ] ) if current_head : return ref_branch # Inform the user about the problem and how to fix it. print ( "The specified override branch ('%s') doesn't appear to exist." % override_branch_name ) print "Please fix your git config value '%s'." % overide_config_name sys . exit ( 1 )