Lines Matching full:branch
37 """Returns the user-configured override branch name, if any."""
38 override_config_name = 'chromium.sync-branch'
43 """Returns the name of the magic branch that lets us know that DEPS is
45 # Is there an override branch specified?
48 return 'refs/heads/gclient' # No override, so return the default branch.
50 # Verify that the branch from config exists.
57 print ("The specified override branch ('%s') doesn't appear to exist." %
128 branch = GetOverrideShortBranchName()
129 if not branch:
130 branch = 'gclient'
132 remote = RunGit(['config', '--get', 'branch.' + branch + '.remote'])
139 """Update the magic gclient branch to point at |webkit_rev|.
141 Returns: true if the branch didn't need changes."""
163 """Reset the current gclient branch if that's what we have checked out."""
164 branch = RunGit(['symbolic-ref', '-q', 'HEAD'])
165 if branch != magic_gclient_branch:
166 print "We have now updated the 'gclient' branch, but third_party/WebKit"
167 print "has some other branch ('%s') checked out." % branch
183 parser.add_option('-b', '--branch', help="branch name that gclient generate")
211 changed = UpdateGClientBranch(options.branch, webkit_rev,