This isn't really a matter of "right or wrong". Technically Mercurial supports what you propose. You can merge from any branch into any other branch.
The question is what is the best thing for your workflow. If the problem is that changes were made on default
that should have been made on A
, then a merge from default
to A
seems appropriate. But there also could be alternative ways of making such a correction (if indeed that is what is required). The question doesn't have enough information to really elaborate on this, however.
If the intention is to do new feature development on branches, and then only merge the completed results of that work onto default, that seems reasonable, and I think is a common approach.
Regardless, if you haven't already you should carefully define what work is expected to be done on what branch, just to avoid confusion & mistakes.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…