~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-01-17 17:21:14 UTC
  • mfrom: (2229.2.5 reserved-ids)
  • Revision ID: pqm@pqm.ubuntu.com-20070117172114-dc75493dad46088c
Ensure reserved ids are never stored

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
        self.assertEquals(br.revision_history(), ["rev1",])
88
88
        br.append_revision("rev2", "rev3")
89
89
        self.assertEquals(br.revision_history(), ["rev1", "rev2", "rev3"])
 
90
        self.assertRaises(errors.ReservedId, br.append_revision, 'current:')
90
91
 
91
92
    def test_fetch_revisions(self):
92
93
        """Test fetch-revision operation."""