Hi, The first patch in this series allows Mercurial to prevent adding a branch that would have been shadowed by a tag. The next two fix encoding bugs I noticed while editing the code. The series touches a file I added in an earlier patch, so I sent it as a reply to it. -- - Dan