/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: 2008-09-06 09:52:18 UTC
  • mto: This revision was merged to the branch mainline in revision 3695.
  • Revision ID: andrew.bennetts@canonical.com-20080906095218-9k920hp0t6h9bif0
Rename UntranslateableErrorFromSmartServer -> UnknownErrorFromSmartServer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1707
1707
      - other_branch
1708
1708
 
1709
1709
    If the error from the server doesn't match a known pattern, then
1710
 
    UntranslateableErrorFromSmartServer is raised.
 
1710
    UnknownErrorFromSmartServer is raised.
1711
1711
    """
1712
1712
    def find(name):
1713
1713
        try:
1735
1735
        raise errors.DivergedBranches(find('branch'), find('other_branch'))
1736
1736
    elif err.error_verb == 'TipChangeRejected':
1737
1737
        raise errors.TipChangeRejected(err.error_args[0].decode('utf8'))
1738
 
    raise errors.UntranslateableErrorFromSmartServer(err)
 
1738
    raise errors.UnknownErrorFromSmartServer(err)
1739
1739