Show More
@@ -380,7 +380,8 b' def branches(ui, repo, active=False):' | |||||
380 | for n in repo.heads()] |
|
380 | for n in repo.heads()] | |
381 | branches = [(tag in activebranches, repo.changelog.rev(node), tag) |
|
381 | branches = [(tag in activebranches, repo.changelog.rev(node), tag) | |
382 | for tag, node in repo.branchtags().items()] |
|
382 | for tag, node in repo.branchtags().items()] | |
383 |
branches.sort( |
|
383 | branches.sort() | |
|
384 | branches.reverse() | |||
384 |
|
385 | |||
385 | for isactive, node, tag in branches: |
|
386 | for isactive, node, tag in branches: | |
386 | if (not active) or isactive: |
|
387 | if (not active) or isactive: |
General Comments 0
You need to be logged in to leave comments.
Login now