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