~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-10-30 23:53:42 UTC
  • mfrom: (3808.1.4 stop_searching)
  • Revision ID: pqm@pqm.ubuntu.com-20081030235342-3ttqulydt0irv350
Improve behaviour of stop_searching_any. Fixes regression in
        _walk_to_common_revisions that causes unnecessary data to be
        fetched. (Andrew Bennetts, John Arbash Meinel)

Show diffs side-by-side

added added

removed removed

Lines of Context:
973
973
        args = (path,) + tuple(keys)
974
974
        try:
975
975
            response = self._call_with_body_bytes_expecting_body(
976
 
                verb, args, self._serialise_search_recipe(recipe))
 
976
                verb, args, body)
977
977
        except errors.UnknownSmartMethod:
978
978
            # Server does not support this method, so get the whole graph.
979
979
            # Worse, we have to force a disconnection, because the server now