Show More
@@ -1383,6 +1383,8 b' class localrepository(object):' | |||||
1383 | self.ui.warn(_("aborting: outstanding uncommitted merges\n")) |
|
1383 | self.ui.warn(_("aborting: outstanding uncommitted merges\n")) | |
1384 | return 1 |
|
1384 | return 1 | |
1385 |
|
1385 | |||
|
1386 | err = False | |||
|
1387 | ||||
1386 | p1, p2 = pl[0], node |
|
1388 | p1, p2 = pl[0], node | |
1387 | pa = self.changelog.ancestor(p1, p2) |
|
1389 | pa = self.changelog.ancestor(p1, p2) | |
1388 | m1n = self.changelog.read(p1)[0] |
|
1390 | m1n = self.changelog.read(p1)[0] | |
@@ -1598,7 +1600,9 b' class localrepository(object):' | |||||
1598 | for f in files: |
|
1600 | for f in files: | |
1599 | self.ui.status(_("merging %s\n") % f) |
|
1601 | self.ui.status(_("merging %s\n") % f) | |
1600 | my, other, flag = merge[f] |
|
1602 | my, other, flag = merge[f] | |
1601 | self.merge3(f, my, other) |
|
1603 | ret = self.merge3(f, my, other) | |
|
1604 | if ret: | |||
|
1605 | err = True | |||
1602 | util.set_exec(self.wjoin(f), flag) |
|
1606 | util.set_exec(self.wjoin(f), flag) | |
1603 | if moddirstate: |
|
1607 | if moddirstate: | |
1604 | if branch_merge: |
|
1608 | if branch_merge: | |
@@ -1631,6 +1635,7 b' class localrepository(object):' | |||||
1631 |
|
1635 | |||
1632 | if moddirstate: |
|
1636 | if moddirstate: | |
1633 | self.dirstate.setparents(p1, p2) |
|
1637 | self.dirstate.setparents(p1, p2) | |
|
1638 | return err | |||
1634 |
|
1639 | |||
1635 | def merge3(self, fn, my, other): |
|
1640 | def merge3(self, fn, my, other): | |
1636 | """perform a 3-way merge in the working directory""" |
|
1641 | """perform a 3-way merge in the working directory""" | |
@@ -1661,6 +1666,7 b' class localrepository(object):' | |||||
1661 |
|
1666 | |||
1662 | os.unlink(b) |
|
1667 | os.unlink(b) | |
1663 | os.unlink(c) |
|
1668 | os.unlink(c) | |
|
1669 | return r | |||
1664 |
|
1670 | |||
1665 | def verify(self): |
|
1671 | def verify(self): | |
1666 | filelinkrevs = {} |
|
1672 | filelinkrevs = {} |
General Comments 0
You need to be logged in to leave comments.
Login now