Show More
@@ -5589,7 +5589,7 def resolve(ui, repo, *pats, **opts): | |||||
5589 |
|
5589 | |||
5590 | if show: |
|
5590 | if show: | |
5591 | fm = ui.formatter('resolve', opts) |
|
5591 | fm = ui.formatter('resolve', opts) | |
5592 | ms = mergemod.mergestate(repo) |
|
5592 | ms = mergemod.mergestate.read(repo) | |
5593 | m = scmutil.match(repo[None], pats, opts) |
|
5593 | m = scmutil.match(repo[None], pats, opts) | |
5594 | for f in ms: |
|
5594 | for f in ms: | |
5595 | if not m(f): |
|
5595 | if not m(f): | |
@@ -5604,7 +5604,7 def resolve(ui, repo, *pats, **opts): | |||||
5604 |
|
5604 | |||
5605 | wlock = repo.wlock() |
|
5605 | wlock = repo.wlock() | |
5606 | try: |
|
5606 | try: | |
5607 | ms = mergemod.mergestate(repo) |
|
5607 | ms = mergemod.mergestate.read(repo) | |
5608 |
|
5608 | |||
5609 | if not (ms.active() or repo.dirstate.p2() != nullid): |
|
5609 | if not (ms.active() or repo.dirstate.p2() != nullid): | |
5610 | raise error.Abort( |
|
5610 | raise error.Abort( |
General Comments 0
You need to be logged in to leave comments.
Login now