~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/branch.py

  • Committer: INADA Naoki
  • Date: 2011-05-14 14:59:06 UTC
  • mto: This revision was merged to the branch mainline in revision 5874.
  • Revision ID: songofacandy@gmail.com-20110514145906-xj3xa06jihd4wapq
Notify when test_textwrap is skipped.

Show diffs side-by-side

added added

removed removed

Lines of Context:
232
232
 
233
233
    def do_tip_change_with_locked_branch(self, branch, new_last_revision_id):
234
234
        if new_last_revision_id == 'null:':
235
 
            branch.set_revision_history([])
 
235
            branch._set_revision_history([])
236
236
        else:
237
237
            if not branch.repository.has_revision(new_last_revision_id):
238
238
                return FailedSmartServerResponse(
239
239
                    ('NoSuchRevision', new_last_revision_id))
240
 
            branch.set_revision_history(branch._lefthand_history(
 
240
            branch._set_revision_history(branch._lefthand_history(
241
241
                new_last_revision_id, None, None))
242
242
        return SuccessfulSmartServerResponse(('ok',))
243
243