view tests/test-hg-parseurl.py.out @ 13450:b3f9af7c22c5 stable

wireproto: catch possible cast error in pushkey The server can return an unexpected answer like 'ssl required'. We catch those possible cast errors and abort the operation.
author David Soria Parra <dsp@php.net>
date Mon, 21 Feb 2011 00:37:55 +0100
parents 3d6915f5a2bb
children 375872fdadba
line wrap: on
line source

http://example.com/no/anchor, branches: (None, [])
http://example.com/an/anchor, branches: ('foo', [])
http://example.com/no/anchor/branches, branches: (None, ['foo'])
http://example.com/an/anchor/branches, branches: ('bar', ['foo'])
http://example.com/an/anchor/branches-None, branches: ('foo', [])