equal
deleted
inserted
replaced
77 # get the max revision for the given successors set, |
77 # get the max revision for the given successors set, |
78 # i.e. the 'tip' of a set |
78 # i.e. the 'tip' of a set |
79 node = repo.revs(b'max(%ln)', successors).first() |
79 node = repo.revs(b'max(%ln)', successors).first() |
80 if bookmarks.isactivewdirparent(repo): |
80 if bookmarks.isactivewdirparent(repo): |
81 movemark = repo[b'.'].node() |
81 movemark = repo[b'.'].node() |
|
82 else: |
|
83 # TODO: copy hg prune logic |
|
84 node = repo[b'.'].node() |
82 return node, movemark, None |
85 return node, movemark, None |
83 |
86 |
84 |
87 |
85 def _destupdatebook(repo, clean): |
88 def _destupdatebook(repo, clean): |
86 """decide on an update destination from active bookmark""" |
89 """decide on an update destination from active bookmark""" |