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

Unified Diff: git-try

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 | « gcl.py ('k') | trychange.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git-try
diff --git a/git-try b/git-try
index 8cb807731d8422f77e27e1ee3794657bf47ebecc..9eaec61bac10819f4c36e6b9c5ff6d5ea8950bf5 100755
--- a/git-try
+++ b/git-try
@@ -44,4 +44,10 @@ if __name__ == '__main__':
args.extend(['--rietveld_url', GetRietveldServerUrl()])
# Hack around a limitation in logging.
logging.getLogger().handlers = []
- sys.exit(trychange.TryChange(args, [], False, 'git-try'))
+ sys.exit(trychange.TryChange(
+ args, file_list=[], swallow_exception=False,
+ prog='git-try',
+ extra_epilog='\n'
+ 'git-try will diff against your tracked branch and will '
+ 'detect your rietveld\n'
+ 'code review if you are using git-cl\n'))
« no previous file with comments | « gcl.py ('k') | trychange.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698