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