~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/client.py

  • Committer: Andrew Bennetts
  • Date: 2008-05-16 07:05:26 UTC
  • mto: This revision was merged to the branch mainline in revision 3428.
  • Revision ID: andrew.bennetts@canonical.com-20080516070526-iviihh7mmuwlr5z0
Various tweaks in response to Martin's review.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
import bzrlib
20
20
from bzrlib.smart import message, protocol
 
21
from bzrlib.trace import warning
21
22
from bzrlib import urlutils, errors
22
23
 
23
24
 
73
74
                except errors.UnexpectedProtocolVersionMarker, err:
74
75
                    # TODO: We could recover from this without disconnecting if
75
76
                    # we recognise the protocol version.
 
77
                    warning(
 
78
                        'Server does not understand Bazaar network protocol %d,'
 
79
                        ' reconnecting.  (Upgrade the server to avoid this.)')
76
80
                    self._medium.disconnect()
77
81
                    continue
78
82
                else: