~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-07-12 09:49:37 UTC
  • mfrom: (2598.5.9 nullrevision)
  • Revision ID: pqm@pqm.ubuntu.com-20070712094937-rw5qbi81enh0pvhw
Make most functions prefer NULL_REVISION

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
        wt.commit('rev1a', rev_id='rev1a')
91
91
        # simulated uncommit
92
92
        wt.branch.set_last_revision_info(0, _mod_revision.NULL_REVISION)
93
 
        wt.set_last_revision(None)
 
93
        wt.set_last_revision(_mod_revision.NULL_REVISION)
94
94
        wt.revert([])
95
95
        wt.commit('rev1b', rev_id='rev1b')
96
96
        wt2 = wt.bzrdir.sprout('target',