Lines Matching full:upstream
62 pipe = [LogCmd('@{upstream}..', oneline=True),
85 """Tries to guess the upstream for a branch
88 upstream. It does this by looking for the first commit where
97 Name of upstream branch (e.g. 'upstream/master') or None if none
111 return name, "Guessing upstream as '%s'" % name
112 return None, "Cannot find a suitable upstream for branch '%s'" % branch
115 """Returns the name of the upstream for a branch
123 Name of upstream branch (e.g. 'upstream/master') or None if none
132 upstream, msg = GuessUpstream(git_dir, branch)
133 return upstream, msg
141 raise ValueError("Cannot determine upstream branch for branch "
152 Expression in the form 'upstream..branch' which can be used to
155 upstream, msg = GetUpstream(git_dir, branch)
156 if not upstream:
158 rstr = '%s%s..%s' % (upstream, '~' if include_upstream else '', branch)