Mercurial > hg
changeset 36049:488e313954ea
py3: check for bytes instead of str in hg.share()
Differential Revision: https://phab.mercurial-scm.org/D2151
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 11 Feb 2018 14:30:44 -0800 |
parents | 194463554ba5 |
children | c4fa47f880d3 |
files | mercurial/hg.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hg.py Sun Feb 11 14:29:30 2018 -0800 +++ b/mercurial/hg.py Sun Feb 11 14:30:44 2018 -0800 @@ -214,7 +214,7 @@ else: dest = ui.expandpath(dest) - if isinstance(source, str): + if isinstance(source, bytes): origsource = ui.expandpath(source) source, branches = parseurl(origsource) srcrepo = repository(ui, source)