58 args.append("--template") |
58 args.append("--template") |
59 args.append("{node|short}@@@{branches}\n") |
59 args.append("{node|short}@@@{branches}\n") |
60 |
60 |
61 output = "" |
61 output = "" |
62 client = vcs.getClient() |
62 client = vcs.getClient() |
63 output, error = client.runcommand(args) |
63 output, _error = client.runcommand(args) |
64 |
64 |
65 heads = [] |
65 heads = [] |
66 if output: |
66 if output: |
67 for line in output.splitlines(): |
67 for line in output.splitlines(): |
68 line = line.strip() |
68 line = line.strip() |