Submitter | phabricator |
---|---|
Date | March 4, 2018, 9:44 p.m. |
Message ID | <6af2461d87e3ffccd7cd826b9b2f8e25@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/29012/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -3097,7 +3097,7 @@ path = urlreq.unquote(path) if path.startswith('ssh://-') or path.startswith('svn+ssh://-'): raise error.Abort(_('potentially unsafe url: %r') % - (path,)) + (pycompat.bytestr(path),)) def hidepassword(u): '''hide user credential in a url string'''