2097 |
2097 |
2098 ########################################################################### |
2098 ########################################################################### |
2099 ## Methods for branch handling. |
2099 ## Methods for branch handling. |
2100 ########################################################################### |
2100 ########################################################################### |
2101 |
2101 |
2102 def gitGetBranchesList(self, repodir, withMain=False, allBranches=False, remotes=False): |
2102 def gitGetBranchesList( |
|
2103 self, repodir, withMain=False, allBranches=False, remotes=False |
|
2104 ): |
2103 """ |
2105 """ |
2104 Public method to get the list of branches. |
2106 Public method to get the list of branches. |
2105 |
2107 |
2106 @param repodir directory name of the repository (string) |
2108 @param repodir directory name of the repository (string) |
2107 @param withMain flag indicating to get 'main' as well (boolean) |
2109 @param withMain flag indicating to get 'main' as well (boolean) |