/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 bzrlib/remote.py

  • Committer: Andrew Bennetts
  • Date: 2009-09-08 08:10:19 UTC
  • mto: (4634.6.27 2.0)
  • mto: This revision was merged to the branch mainline in revision 4680.
  • Revision ID: andrew.bennetts@canonical.com-20090908081019-tnfqy9khflt3rmwl
Fix 'fallback to vfs if RPC does not support inventory-deltas' case to refresh the vfs pack names before starting the fallback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1739
1739
            # The stream included an inventory-delta record, but the remote
1740
1740
            # side isn't new enough to support them.  So we need to send the
1741
1741
            # rest of the stream via VFS.
 
1742
            self.target_repo.refresh_data()
1742
1743
            return self._resume_stream_with_vfs(response, src_format)
1743
1744
        if response[0][0] == 'missing-basis':
1744
1745
            tokens, missing_keys = bencode.bdecode_as_tuple(response[0][1])