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

  • Committer: Aaron Bentley
  • Date: 2007-07-17 13:27:14 UTC
  • mfrom: (2624 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2631.
  • Revision ID: abentley@panoramicfeedback.com-20070717132714-tmzx9khmg9501k51
Merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
389
389
                raise UnicodeEncodeError(encoding, val, start, end, reason)
390
390
        elif what == "ReadOnlyError":
391
391
            raise errors.TransportNotPossible('readonly transport')
 
392
        elif what == "ReadError":
 
393
            if orig_path is not None:
 
394
                error_path = orig_path
 
395
            else:
 
396
                error_path = resp[1]
 
397
            raise errors.ReadError(error_path)
392
398
        else:
393
399
            raise errors.SmartProtocolError('unexpected smart server error: %r' % (resp,))
394
400