~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/workingtree_implementations/test_commit.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:
160
160
            return
161
161
        tree.commit('foo', rev_id='foo', local=True)
162
162
        self.failIf(master.repository.has_revision('foo'))
163
 
        self.assertTrue(_mod_revision.is_null(master.last_revision()))
 
163
        self.assertTrue(_mod_revision.is_null(_mod_revision.ensure_null(
 
164
                        master.last_revision())))
164
165
 
165
166
    def test_record_initial_ghost(self):
166
167
        """The working tree needs to record ghosts during commit."""