[RFC] Add a Transport.human_url method?
Martin Pool
mbp at sourcefrog.net
Fri Jul 24 06:59:00 BST 2009
2009/7/24 Andrew Cowie <andrew at operationaldynamics.com>:
> On Fri, 2009-07-24 at 14:39 +1000, Andrew Bennetts wrote:
>> 3. human_url(): is for reporting to humans in errors and the like.
>
> Do you mean presenting:
>
> http://bazaar.launchpad.net/~bzr/bzr-push-and-update/trunk/
>
> instead of:
>
> http://bazaar.launchpad.net/%7Ebzr/bzr-push-and-update/trunk/
>
> [which is what (for example) `bzr info` says at the moment]?
No, that's something different - and I think it's now fixed in trunk
to show the tilde.
That's normalize_url and _unescape_safe_characters.
--
Martin <http://launchpad.net/~mbp/>
More information about the bazaar
mailing list