~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/branch_implementations/test_update.py

  • Committer: Aaron Bentley
  • Date: 2007-07-11 19:44:51 UTC
  • mto: This revision was merged to the branch mainline in revision 2606.
  • Revision ID: abentley@panoramicfeedback.com-20070711194451-3jqhye1nnd02a9uv
Restore original Branch.last_revision behavior, fix bits that care

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    def test_update_unbound_works(self):
31
31
        b = self.make_branch('.')
32
32
        b.update()
33
 
        self.assertEqual(_mod_revision.NULL_REVISION, b.last_revision())
 
33
        self.assertEqual(_mod_revision.NULL_REVISION,
 
34
                         _mod_revision.ensure_null(b.last_revision()))
34
35
 
35
36
    def test_update_prefix_returns_none(self):
36
37
        # update in a branch when its a prefix of the master should