/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to tools/http_client.py

  • Committer: Adrian Wilkins
  • Date: 2008-08-04 14:28:44 UTC
  • mto: (3714.1.1 bzr.ab.integration)
  • mto: This revision was merged to the branch mainline in revision 3716.
  • Revision ID: adrian.wilkins@gmail.com-20080804142844-bvxt4avnorzks2dx
`bzr switch` now finds the sibling of the bound branch of a heavy checkout when passed a location that does not immediately resolve to a branch.

It no longer finds siblings of the heavy checkout itself, which could be considered a regression if this was the intended function of this convenience feature.

Show diffs side-by-side

added added

removed removed

Lines of Context:
235
235
        debug("can't handle response status %r" % r.status)
236
236
        raise NotImplementedError()
237
237
 
238
 
    if r.content_length == None:
 
238
    if r.content_length is None:
239
239
        raise NotImplementedError()
240
240
 
241
241
    if r.content_length == 0: