equal
deleted
inserted
replaced
333 |
333 |
334 def copied(mctx, x): |
334 def copied(mctx, x): |
335 """``copied()`` |
335 """``copied()`` |
336 File that is recorded as being copied. |
336 File that is recorded as being copied. |
337 """ |
337 """ |
|
338 getargs(x, 0, 0, _("copied takes no arguments")) |
338 s = [] |
339 s = [] |
339 for f in mctx.subset: |
340 for f in mctx.subset: |
340 p = mctx.ctx[f].parents() |
341 p = mctx.ctx[f].parents() |
341 if p and p[0].path() != f: |
342 if p and p[0].path() != f: |
342 s.append(f) |
343 s.append(f) |