equal
deleted
inserted
replaced
2530 else: |
2530 else: |
2531 format = "%s %%s%s" % (char, end) |
2531 format = "%s %%s%s" % (char, end) |
2532 |
2532 |
2533 for f in changes: |
2533 for f in changes: |
2534 ui.write(format % f) |
2534 ui.write(format % f) |
2535 if ((all or opts.get('copies')) and not opts.get('no_status') |
2535 if ((all or opts.get('copies')) and not opts.get('no_status')): |
2536 and opt == 'added'): |
|
2537 copied = repo.dirstate.copied(f) |
2536 copied = repo.dirstate.copied(f) |
2538 if copied: |
2537 if copied: |
2539 ui.write(' %s%s' % (copied, end)) |
2538 ui.write(' %s%s' % (copied, end)) |
2540 |
2539 |
2541 def tag(ui, repo, name, rev_=None, **opts): |
2540 def tag(ui, repo, name, rev_=None, **opts): |