equal
deleted
inserted
replaced
97 |
97 |
98 # For a set s, max(parents(s) - s) is the same as max(heads(::s - s)), but |
98 # For a set s, max(parents(s) - s) is the same as max(heads(::s - s)), but |
99 # is much faster |
99 # is much faster |
100 newbmtarget = repo.revs('max(parents(%ld) - (%ld))', tostrip, tostrip) |
100 newbmtarget = repo.revs('max(parents(%ld) - (%ld))', tostrip, tostrip) |
101 if newbmtarget: |
101 if newbmtarget: |
102 newbmtarget = repo[newbmtarget[0]].node() |
102 newbmtarget = repo[newbmtarget.first()].node() |
103 else: |
103 else: |
104 newbmtarget = '.' |
104 newbmtarget = '.' |
105 |
105 |
106 bm = repo._bookmarks |
106 bm = repo._bookmarks |
107 updatebm = [] |
107 updatebm = [] |