Show More
@@ -2563,7 +2563,10 b' def _lookup(repo, node, branch=None):' | |||
|
2563 | 2563 | node = repo.lookup(node) |
|
2564 | 2564 | else: |
|
2565 | 2565 | wc = repo.workingctx() |
|
2566 | node = repo.branchtags()[wc.branch()] | |
|
2566 | try: | |
|
2567 | node = repo.branchtags()[wc.branch()] | |
|
2568 | except KeyError: | |
|
2569 | raise util.Abort(_("branch %s not found") % wc.branch()) | |
|
2567 | 2570 | return node |
|
2568 | 2571 | |
|
2569 | 2572 | def verify(ui, repo): |
General Comments 0
You need to be logged in to leave comments.
Login now