Mercurial > hg-stable
changeset 36172:2a28bdb63f05
convert: make hg sha1 regex consistently be a bytes
Differential Revision: https://phab.mercurial-scm.org/D2222
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 12 Feb 2018 23:51:37 -0500 |
parents | 6df206ef4b10 |
children | 8b33eb349e0b |
files | hgext/convert/hg.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/hg.py Mon Feb 12 23:51:18 2018 -0500 +++ b/hgext/convert/hg.py Mon Feb 12 23:51:37 2018 -0500 @@ -42,7 +42,7 @@ mapfile = common.mapfile NoRepo = common.NoRepo -sha1re = re.compile(r'\b[0-9a-f]{12,40}\b') +sha1re = re.compile(br'\b[0-9a-f]{12,40}\b') class mercurial_sink(common.converter_sink): def __init__(self, ui, repotype, path):