changeset 32641 | d3e1c5b4986c |
parent 32610 | 746e12a767b3 |
child 32676 | 4bec8cce6a09 |
--- a/mercurial/cmdutil.py Thu Jun 01 23:05:29 2017 +0900 +++ b/mercurial/cmdutil.py Thu Jun 01 23:08:23 2017 +0900 @@ -493,7 +493,7 @@ 'exclusive')) if not message and logfile: try: - if logfile == '-': + if isstdiofilename(logfile): message = ui.fin.read() else: message = '\n'.join(util.readfile(logfile).splitlines())