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