Show More
@@ -1978,10 +1978,9 b' def update(repo, node, branchmerge, forc' | |||||
1978 | pl = wc.parents() |
|
1978 | pl = wc.parents() | |
1979 | p1 = pl[0] |
|
1979 | p1 = pl[0] | |
1980 | p2 = repo[node] |
|
1980 | p2 = repo[node] | |
1981 | pas = [None] |
|
|||
1982 | if ancestor is not None: |
|
1981 | if ancestor is not None: | |
1983 | pas = [repo[ancestor]] |
|
1982 | pas = [repo[ancestor]] | |
1984 | if pas[0] is None: |
|
1983 | else: | |
1985 | if repo.ui.configlist('merge', 'preferancestor') == ['*']: |
|
1984 | if repo.ui.configlist('merge', 'preferancestor') == ['*']: | |
1986 | cahs = repo.changelog.commonancestorsheads(p1.node(), p2.node()) |
|
1985 | cahs = repo.changelog.commonancestorsheads(p1.node(), p2.node()) | |
1987 | pas = [repo[anc] for anc in (sorted(cahs) or [nullid])] |
|
1986 | pas = [repo[anc] for anc in (sorted(cahs) or [nullid])] |
General Comments 0
You need to be logged in to leave comments.
Login now