251
251
self.addCleanup(repo.lock_read().unlock)
252
252
# We should have pushed 'C', but not 'B', since it isn't in the
254
self.assertEqual([('A',), ('C',)], sorted(repo.revisions.keys()))
256
256
def test_push_with_default_stacking_does_not_create_broken_branch(self):
257
257
"""Pushing a new standalone branch works even when there's a default