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

Unified Diff: gcl.py

Issue 2408001: More examples at the end of trychange.py help and move the -R flag to the right group (Closed)
Patch Set: Fix typo, add epilog to git-try Created 10 years, 7 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 | git-try » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcl.py
diff --git a/gcl.py b/gcl.py
index c8756e14bb41297e8047705be256eb64e61294da..a1596f1e0e5170095203905b8cf06d036779c1d3 100755
--- a/gcl.py
+++ b/gcl.py
@@ -871,10 +871,13 @@ def TryChange(change_info, args, swallow_exception):
else:
trychange_args.extend(args)
file_list = None
- return trychange.TryChange(trychange_args,
- file_list=file_list,
- swallow_exception=swallow_exception,
- prog='gcl try')
+ return trychange.TryChange(
+ trychange_args,
+ file_list=file_list,
+ swallow_exception=swallow_exception,
+ prog='gcl try',
+ extra_epilog='\n'
+ 'When called from gcl, use the format gcl try <change_name>.\n')
@need_change_and_args
« no previous file with comments | « no previous file | git-try » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698