In my project the code supposed to call bitbucket repos and get all the available branches.
My responsibility is create dict where keys will branch name and value will number of child branches.
listOfRepos = ['repo/association/branch/master','repo/publish/branch/master']
listOfChildBranches = [["childBranch1","childBranch2","childBranch3"],
["working1","demo2","rebased3"]]
Required output is:
repo/association/branch/master=['childBranch1', 'childBranch2', 'childBranch3']
repo/publish/branch/master=['working1', 'demo2', 'rebased3']