/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_chk_map.py

  • Committer: Robert Collins
  • Author(s): Robert Collins, John Arbash Meinel, Ian Clatworthy, Vincent Ladeuil
  • Date: 2009-04-07 12:32:42 UTC
  • mto: This revision was merged to the branch mainline in revision 4265.
  • Revision ID: robertc@robertcollins.net-20090407123242-x5htsk0p5k4zsetu
Add --development6-rich-root, disabling the legacy and unneeded development2 format, and activating the tests for CHK features disabled pending this format. (Robert Collins, John Arbash Meinel, Ian Clatworthy, Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
class TestCaseWithStore(tests.TestCaseWithTransport):
58
58
 
59
59
    def get_chk_bytes(self):
60
 
        # The easiest way to get a CHK store is a development5 repository and
 
60
        # The easiest way to get a CHK store is a development6 repository and
61
61
        # then work with the chk_bytes attribute directly.
62
 
        repo = self.make_repository(".", format="development5")
 
62
        repo = self.make_repository(".", format="development6-rich-root")
63
63
        repo.lock_write()
64
64
        self.addCleanup(repo.unlock)
65
65
        repo.start_write_group()