##// END OF EJS Templates
py3: check for bytes instead of str in hg.share()...
Gregory Szorc -
r36066:488e3139 default
parent child Browse files
Show More
@@ -214,7 +214,7 b' def share(ui, source, dest=None, update='
214 else:
214 else:
215 dest = ui.expandpath(dest)
215 dest = ui.expandpath(dest)
216
216
217 if isinstance(source, str):
217 if isinstance(source, bytes):
218 origsource = ui.expandpath(source)
218 origsource = ui.expandpath(source)
219 source, branches = parseurl(origsource)
219 source, branches = parseurl(origsource)
220 srcrepo = repository(ui, source)
220 srcrepo = repository(ui, source)
General Comments 0
You need to be logged in to leave comments. Login now