Related bugs

Related FAQ:

As discussed on IRC, the problem you have is that just using 'cp' to duplicate one of your branches somewhere else is probably not what you want. Instead, you can use a lightweight checkout for the same purpose, which then has the information about what branch the tree is from.