Show More
@@ -2544,7 +2544,11 b' def _lookup(repo, node, branch=None):' | |||
|
2544 | 2544 | else: |
|
2545 | 2545 | raise util.Abort(_("branch %s not found") % branch) |
|
2546 | 2546 | else: |
|
2547 | node = node and repo.lookup(node) or repo.changelog.tip() | |
|
2547 | if node: | |
|
2548 | node = repo.lookup(node) | |
|
2549 | else: | |
|
2550 | wc = repo.workingctx() | |
|
2551 | node = repo.branchtags()[wc.branch()] | |
|
2548 | 2552 | return node |
|
2549 | 2553 | |
|
2550 | 2554 | def verify(ui, repo): |
General Comments 0
You need to be logged in to leave comments.
Login now