My question is similar to Mercurial: List all unmerged branches but for SVN, not Mercurial.
I need to find a way to list all currently open branches that haven't been merged into mine (usually trunk).
As far as I'm aware, the equivalent feature in Git is git branch --no-merged and git branch --merged
For clarification, I'm not asking for a list of unmerged revisions, like many other StackOverflow questions have asked in the past.
I'll accept any solution that is able to to list all active branches that are not yet merged. If this isn't possible, then I will accept an answer that lists all active, merged branches, allowing me to work backwards.
For example, if I'm on repo/trunk, and the repo has these branches:
repo/branches/b1has not been merged into trunkrepo/branches/b2has been mergedrepo/branches/b3was deleted in a previous revision and wasn't mergedrepo/branches/b4was deleted after being merged
Your solution should return either b1 or b2, but must never return b3 or b4.