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