| Index: hgreview.py |
| =================================================================== |
| --- a/hgreview.py |
| +++ b/hgreview.py |
| @@ -59,7 +59,8 @@ |
| if not opts.get('issue'): |
| # New issue, make sure title and message are set |
| if not opts.get('title') and opts.get('change'): |
| - opts['title'] = repo[opts['change']].description() |
| + opts['title'] = repo[opts['change']].description().rstrip().split('\n')[0] |
|
Vasily Kuznetsov
2017/01/13 17:58:08
There's a bit too much code repetition here and, m
f.nicolaisen
2017/01/15 22:48:09
Acknowledged.
|
| + opts['message'] = repo[opts['change']].description() |
| if not opts.get('title'): |
| opts['title'] = ui.prompt('New review title: ', '') |
| if not opts['title'].strip(): |