diff -r c093cc6e6c99 -r 313e3a279828 hgext/githelp.py --- a/hgext/githelp.py Thu Nov 07 03:59:22 2019 -0800 +++ b/hgext/githelp.py Thu Nov 07 13:18:19 2019 -0500 @@ -90,7 +90,7 @@ args = fancyopts.fancyopts(list(args), cmdoptions, opts, True) break except getopt.GetoptError as ex: - if r"requires argument" in ex.msg: + if "requires argument" in ex.msg: raise if (r'--' + ex.opt) in ex.msg: flag = b'--' + pycompat.bytestr(ex.opt)