Hmm, you're somehow getting a NoSuchFile exception from br_from.create_clone_on_transport despite using --create-prefix.
I've pushed up a trivial improvement to reveal the underlying NoSuchFile error, because it's not immediately clear to me how this case can happen, but giving the NoSuchFile error is at least going to be a touch more informative than the UnboundLocalError. We already do this for the FileExists case as part of the original fix for this bug report. The branch is <lp:~spiv/bzr/br_to-again-423563-2.0> (branched off lp:bzr/2.0), and a direct URL for the diff is <http://bazaar.launchpad.net/~spiv/bzr/br_to-again-423563-2.0/diff/4730>.
Hmm, you're somehow getting a NoSuchFile exception from br_from. create_ clone_on_ transport despite using --create-prefix.
I've pushed up a trivial improvement to reveal the underlying NoSuchFile error, because it's not immediately clear to me how this case can happen, but giving the NoSuchFile error is at least going to be a touch more informative than the UnboundLocalError. We already do this for the FileExists case as part of the original fix for this bug report. The branch is <lp:~spiv/bzr/br_to-again-423563-2.0> (branched off lp:bzr/2.0), and a direct URL for the diff is <http:// bazaar. launchpad. net/~spiv/ bzr/br_ to-again- 423563- 2.0/diff/ 4730>.