Show More
@@ -249,7 +249,7 def resolved(mctx, x): | |||
|
249 | 249 | getargs(x, 0, 0, _("resolved takes no arguments")) |
|
250 | 250 | if mctx.ctx.rev() is not None: |
|
251 | 251 | return [] |
|
252 | ms = merge.mergestate(mctx.ctx.repo()) | |
|
252 | ms = merge.mergestate.read(mctx.ctx.repo()) | |
|
253 | 253 | return [f for f in mctx.subset if f in ms and ms[f] == 'r'] |
|
254 | 254 | |
|
255 | 255 | def unresolved(mctx, x): |
@@ -260,7 +260,7 def unresolved(mctx, x): | |||
|
260 | 260 | getargs(x, 0, 0, _("unresolved takes no arguments")) |
|
261 | 261 | if mctx.ctx.rev() is not None: |
|
262 | 262 | return [] |
|
263 | ms = merge.mergestate(mctx.ctx.repo()) | |
|
263 | ms = merge.mergestate.read(mctx.ctx.repo()) | |
|
264 | 264 | return [f for f in mctx.subset if f in ms and ms[f] == 'u'] |
|
265 | 265 | |
|
266 | 266 | def hgignore(mctx, x): |
General Comments 0
You need to be logged in to leave comments.
Login now