Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(449)

Side by Side Diff: git_map.py

Issue 196433003: Fix git_nav_downstream.py when origin/master is checked out. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Also add a * on origin/master when its checked out Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | git_map_branches.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
2 """ 6 """
3 Provides an augmented `git log --graph` view. In particular, it also annotates 7 Provides an augmented `git log --graph` view. In particular, it also annotates
4 commits with branches + tags that point to them. Items are colorized as follows: 8 commits with branches + tags that point to them. Items are colorized as follows:
5 * Cyan - Currently checked out branch 9 * Cyan - Currently checked out branch
6 * Green - Local branch 10 * Green - Local branch
7 * Red - Remote branches 11 * Red - Remote branches
8 * Magenta - Tags 12 * Magenta - Tags
9 * Blue background - The currently checked out commit 13 * Blue background - The currently checked out commit
10 """ 14 """
11 import sys 15 import sys
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 pass 81 pass
78 finally: 82 finally:
79 sys.stderr.close() 83 sys.stderr.close()
80 sys.stdout.close() 84 sys.stdout.close()
81 return 0 85 return 0
82 86
83 87
84 if __name__ == '__main__': 88 if __name__ == '__main__':
85 sys.exit(main()) 89 sys.exit(main())
86 90
OLDNEW
« no previous file with comments | « no previous file | git_map_branches.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698