equal
deleted
inserted
replaced
93 This ignores closed branch heads. |
93 This ignores closed branch heads. |
94 """ |
94 """ |
95 wc = repo[None] |
95 wc = repo[None] |
96 movemark = node = None |
96 movemark = node = None |
97 currentbranch = wc.branch() |
97 currentbranch = wc.branch() |
|
98 |
|
99 if clean: |
|
100 currentbranch = repo['.'].branch() |
|
101 |
98 if currentbranch in repo.branchmap(): |
102 if currentbranch in repo.branchmap(): |
99 heads = repo.branchheads(currentbranch) |
103 heads = repo.branchheads(currentbranch) |
100 if heads: |
104 if heads: |
101 node = repo.revs('max(.::(%ln))', heads).first() |
105 node = repo.revs('max(.::(%ln))', heads).first() |
102 if bookmarks.isactivewdirparent(repo): |
106 if bookmarks.isactivewdirparent(repo): |