197
198
# now when we unstack that should implicitly fetch, to make sure that
198
199
# the branch will still work
199
200
new_branch = new_dir.open_branch()
200
207
new_branch.set_stacked_on_url(None)
202
209
# of course it's still in the mainline
204
214
# and now we're no longer stacked
208
217
def test_unstack_already_locked(self):
209
218
"""Removing the stacked-on branch with an already write-locked branch