Started rewriting the branch detection, based on "p4 branches" and "p4 branch -o foo".
drwxr-xr-x - contrib