Actually, I'm pretty sure this is about not being able to unshelve the root, not a newly created subdir. Try:
bzr init foo cd foo touch a; bzr add a; bzr commit -m "a" bzr mkdir dir bzr shelve bzr unshelve
I think that will work.
The problem is that you did this as the *first* action (without any other commit) and it shelved the creation of the tree root.
Either: a) We shouldn't allow shelving the root or b) We should support unshelving a new root
Now, if what I wrote also fails, then we have 2 bugs :). But what you posted here is a failure to unshelve a root-id change.
Actually, I'm pretty sure this is about not being able to unshelve the
root, not a newly created subdir. Try:
bzr init foo
cd foo
touch a; bzr add a; bzr commit -m "a"
bzr mkdir dir
bzr shelve
bzr unshelve
I think that will work.
The problem is that you did this as the *first* action (without any
other commit) and it shelved the creation of the tree root.
Either:
a) We shouldn't allow shelving the root
or
b) We should support unshelving a new root
Now, if what I wrote also fails, then we have 2 bugs :). But what you posted here is a failure to unshelve a root-id change.