equal
deleted
inserted
replaced
333 continue |
333 continue |
334 s.append(f) |
334 s.append(f) |
335 |
335 |
336 return s |
336 return s |
337 |
337 |
|
338 def copied(mctx, x): |
|
339 """``copied()`` |
|
340 File that is recorded as being copied. |
|
341 """ |
|
342 s = [] |
|
343 for f in mctx.subset: |
|
344 p = mctx.ctx[f].parents() |
|
345 if p and p[0].path() != f: |
|
346 s.append(f) |
|
347 return s |
|
348 |
338 symbols = { |
349 symbols = { |
339 'added': added, |
350 'added': added, |
340 'binary': binary, |
351 'binary': binary, |
341 'clean': clean, |
352 'clean': clean, |
|
353 'copied': copied, |
342 'deleted': deleted, |
354 'deleted': deleted, |
343 'encoding': encoding, |
355 'encoding': encoding, |
344 'exec': exec_, |
356 'exec': exec_, |
345 'grep': grep, |
357 'grep': grep, |
346 'ignored': ignored, |
358 'ignored': ignored, |