> What I am requesting here is a supported API in bzrlib to do it in a > non-hackish way. I think my suggestion in <https://bugs.edge.launchpad.net/bzr/+bug/139109> is tolerably clean: create the reference and then catch the error raised from trying to open it. Patches to avoid opening it altogether can be considered. -- Martin