~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/message.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-04-27 06:47:50 UTC
  • mfrom: (4294.2.12 push.roundtrips)
  • Revision ID: pqm@pqm.ubuntu.com-20090427064750-e9obd6h83omt86ps
(robertc) Reduce roundtrips needed to push a new branch by coalescing
        many steps of the initialisation process. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
351
351
        raise errors.LockContention('(remote lock)')
352
352
    elif error_name == 'LockFailed':
353
353
        raise errors.LockFailed(*error_args[:2])
 
354
    elif error_name == 'FileExists':
 
355
        raise errors.FileExists(error_args[0])
 
356
    elif error_name == 'NoSuchFile':
 
357
        raise errors.NoSuchFile(error_args[0])
354
358
    else:
355
359
        raise errors.ErrorFromSmartServer(error_tuple)