diff -r c093cc6e6c99 -r 313e3a279828 mercurial/debugcommands.py --- a/mercurial/debugcommands.py Thu Nov 07 03:59:22 2019 -0800 +++ b/mercurial/debugcommands.py Thu Nov 07 13:18:19 2019 -0500 @@ -651,7 +651,7 @@ ) def debugdate(ui, date, range=None, **opts): """parse and display a date""" - if opts[r"extended"]: + if opts["extended"]: d = dateutil.parsedate(date, util.extendeddateformats) else: d = dateutil.parsedate(date) @@ -877,7 +877,7 @@ timestr = b'set ' else: timestr = time.strftime( - r"%Y-%m-%d %H:%M:%S ", time.localtime(ent[3]) + "%Y-%m-%d %H:%M:%S ", time.localtime(ent[3]) ) timestr = encoding.strtolocal(timestr) if ent[1] & 0o20000: