equal
deleted
inserted
replaced
4358 if node: |
4358 if node: |
4359 node = scmutil.revsingle(repo, node).node() |
4359 node = scmutil.revsingle(repo, node).node() |
4360 |
4360 |
4361 if not node and repo._bookmarkcurrent: |
4361 if not node and repo._bookmarkcurrent: |
4362 bmheads = repo.bookmarkheads(repo._bookmarkcurrent) |
4362 bmheads = repo.bookmarkheads(repo._bookmarkcurrent) |
4363 curhead = repo[repo._bookmarkcurrent] |
4363 curhead = repo[repo._bookmarkcurrent].node() |
4364 if len(bmheads) == 2: |
4364 if len(bmheads) == 2: |
4365 if curhead == bmheads[0]: |
4365 if curhead == bmheads[0]: |
4366 node = bmheads[1] |
4366 node = bmheads[1] |
4367 else: |
4367 else: |
4368 node = bmheads[0] |
4368 node = bmheads[0] |