Return the set of all p4 labels.
(depotPaths)
| 709 | |
| 710 | |
| 711 | def getP4Labels(depotPaths): |
| 712 | """Return the set of all p4 labels.""" |
| 713 | |
| 714 | labels = set() |
| 715 | if not isinstance(depotPaths, list): |
| 716 | depotPaths = [depotPaths] |
| 717 | |
| 718 | for l in p4CmdList(["labels"] + ["%s..." % p for p in depotPaths]): |
| 719 | label = l['label'] |
| 720 | labels.add(label) |
| 721 | |
| 722 | return labels |
| 723 | |
| 724 | |
| 725 | def getGitTags(): |