| Index: git_map_branches.py
|
| diff --git a/git_map_branches.py b/git_map_branches.py
|
| index 9c7ed1afb348eccf6b19b7164cb029f59db0b4cd..bbd52483381bc8d8e0899d8ed9419c18cf294bca 100755
|
| --- a/git_map_branches.py
|
| +++ b/git_map_branches.py
|
| @@ -137,9 +137,10 @@ class BranchMapper(object):
|
| for _ in xrange(len(self.__branches_info)):
|
| # This is a blocking get which waits for the remote CL status to be
|
| # retrieved.
|
| - (cl, status) = status_info.next()
|
| + (cl, status, outdated) = status_info.next()
|
| self.__status_info[cl.GetBranchRef()] = (cl.GetIssueURL(),
|
| - color_for_status(status))
|
| + color_for_status(status),
|
| + outdated)
|
|
|
| roots = set()
|
|
|
| @@ -260,8 +261,13 @@ class BranchMapper(object):
|
| # The Rietveld issue associated with the branch.
|
| if self.verbosity >= 2:
|
| none_text = '' if self.__is_invalid_parent(branch) else 'None'
|
| - (url, color) = self.__status_info[branch]
|
| + if branch in self.__status_info:
|
| + (url, color, outdated) = self.__status_info[branch]
|
| + else:
|
| + (url, color, outdated) = ('', '', False)
|
| line.append(url or none_text, color=color)
|
| + if self.verbosity > 2:
|
| + line.append(' outdated' if outdated else ' ', color=Fore.RED)
|
|
|
| # The subject of the most recent commit on the branch.
|
| if self.show_subject:
|
|
|