Submitter | phabricator |
---|---|
Date | April 15, 2021, 2:51 a.m. |
Message ID | <differential-rev-PHID-DREV-5nwv3iy4jkupzcuelorn-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/48750/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/utils/urlutil.py b/mercurial/utils/urlutil.py --- a/mercurial/utils/urlutil.py +++ b/mercurial/utils/urlutil.py @@ -643,11 +643,11 @@ try: subpath = paths[self.url.host] except KeyError: - m = _('cannot use `%s`, "%s" is not a known path') + m = _(b'cannot use `%s`, "%s" is not a known path') m %= (self.rawloc, self.url.host) raise error.Abort(m) if subpath.raw_url.scheme == b'path': - m = _('cannot use `%s`, "%s" is also define as a `path://`') + m = _(b'cannot use `%s`, "%s" is also defined as a `path://`') m %= (self.rawloc, self.url.host) raise error.Abort(m) self.url = subpath.url