Add "gcl description <change>" subcommand.

Prints the multi-line change description.
(Used in forthcoming Emacs gcl integration.)

Review URL: http://codereview.chromium.org/1935002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@46599 0039d316-1c4b-4281-b951-d872f2087c98
experimental/szager/collated-output
maruel@chromium.org 15 years ago
parent 3c55d98111
commit a67a731cb9

@ -661,6 +661,9 @@ Advanced commands:
Diffs all files in the current directory and subdirectories that aren't in
a changelist.
gcl description
Prints the description of the specified change to stdout.
gcl changes
Lists all the the changelists and the files in them.
@ -1219,6 +1222,8 @@ def main(argv=None):
if command == "change":
Change(change_info, argv[3:])
if command == "description":
print change_info.description
elif command == "lint":
Lint(change_info, argv[3:])
elif command == "upload":

Loading…
Cancel
Save