Mercurial > hg-stable
changeset 26993:d240ae897ba6
commands.resolve: switch to mergestate.read()
See previous patches for why we're doing this.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Tue, 17 Nov 2015 13:56:46 -0800 |
parents | b3b5ed560283 |
children | 676c3838d217 |
files | mercurial/commands.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Tue Nov 17 13:56:10 2015 -0800 +++ b/mercurial/commands.py Tue Nov 17 13:56:46 2015 -0800 @@ -5589,7 +5589,7 @@ if show: fm = ui.formatter('resolve', opts) - ms = mergemod.mergestate(repo) + ms = mergemod.mergestate.read(repo) m = scmutil.match(repo[None], pats, opts) for f in ms: if not m(f): @@ -5604,7 +5604,7 @@ wlock = repo.wlock() try: - ms = mergemod.mergestate(repo) + ms = mergemod.mergestate.read(repo) if not (ms.active() or repo.dirstate.p2() != nullid): raise error.Abort(