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

Unified Diff: gclient.py

Issue 172028: Improving the 'gclient revinfo' display info. (Closed) Base URL: http://src.chromium.org/svn/trunk/tools/depot_tools/
Patch Set: Created 11 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient.py
===================================================================
--- gclient.py (revision 23530)
+++ gclient.py (working copy)
@@ -1517,7 +1517,7 @@
(url, rev) = GetURLAndRev(d, sub_deps[d])
entries[d] = "%s@%d" % (url, rev)
- print(";".join(["%s,%s" % (x, entries[x]) for x in sorted(entries.keys())]))
+ print(";\n\n".join(["%s: %s" % (x, entries[x]) for x in sorted(entries.keys())]))
## gclient commands.
@@ -1784,6 +1784,7 @@
# Users don't need to be told to use the 'help' command.
option_parser.print_help()
return 1
+
# Add manual support for --version as first argument.
if argv[1] == '--version':
option_parser.print_version()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698