~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/branch.py

  • Committer: Andrew Bennetts
  • Date: 2008-06-18 07:46:41 UTC
  • mto: (3452.2.9 inter-remote-pack)
  • mto: This revision was merged to the branch mainline in revision 3511.
  • Revision ID: andrew.bennetts@canonical.com-20080618074641-gletfspa4l47yq6q
Fix test failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
            new_revno = graph.find_distance_to_null(
148
148
                new_last_revision_id, [(last_rev, last_revno)])
149
149
            branch.set_last_revision_info(new_revno, new_last_revision_id)
150
 
        except errors.NoSuchRevision:
 
150
        except errors.GhostRevisionsHaveNoRevno:
151
151
            return FailedSmartServerResponse(
152
152
                ('NoSuchRevision', new_last_revision_id))
153
153
        return SuccessfulSmartServerResponse(