~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_chk_map.py

  • Committer: John Arbash Meinel
  • Date: 2009-03-30 18:42:38 UTC
  • mto: (3735.2.171 brisbane-core)
  • mto: This revision was merged to the branch mainline in revision 4280.
  • Revision ID: john@arbash-meinel.com-20090330184238-yc8t2i9wr2mjkxiu
For now, we handle the case of a root node being referenced in the unwanted set.
However, it requires buffering, which is something we want to get rid of.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1985
1985
             ([aac_key], [(('aac',), 'other')]),
1986
1986
            ], [target2, target3], [target1])
1987
1987
 
 
1988
        # This may be a case that we relax. A root node is a deep child of the
 
1989
        # excluded set. The cost is buffering root nodes until we have
 
1990
        # determined all possible exclusions. (Because a prefix of '', cannot
 
1991
        # be excluded.)
 
1992
        self.assertIterInteresting(
 
1993
            [], [target1], [target3])
 
1994
 
1988
1995
    def test_multiple_maps(self):
1989
1996
        basis1 = self.get_map_key({('aaa',): 'common',
1990
1997
                                   ('aab',): 'basis1',