~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_graph.py

(John Arbash Meinel) Change Branch.pull() so it doesn't have to
        search all history all the time.

Show diffs side-by-side

added added

removed removed

Lines of Context:
373
373
        self.assertEqual(set(['rev1']), graph.heads(('rev1', 'null:')))
374
374
 
375
375
    def test_heads_one(self):
376
 
        # A single node will alwaya be a head
 
376
        # A single node will always be a head
377
377
        graph = self.make_graph(ancestry_1)
378
378
        self.assertEqual(set(['null:']), graph.heads(['null:']))
379
379
        self.assertEqual(set(['rev1']), graph.heads(['rev1']))