Show More
@@ -2609,6 +2609,7 def status(ui, repo, *pats, **opts): | |||
|
2609 | 2609 | ! = deleted, but still tracked |
|
2610 | 2610 | ? = not tracked |
|
2611 | 2611 | I = ignored (not shown by default) |
|
2612 | = the previous added file was copied from here | |
|
2612 | 2613 | """ |
|
2613 | 2614 | |
|
2614 | 2615 | show_ignored = opts['ignored'] and True or False |
@@ -2637,6 +2638,9 def status(ui, repo, *pats, **opts): | |||
|
2637 | 2638 | |
|
2638 | 2639 | for f in changes: |
|
2639 | 2640 | ui.write(format % f) |
|
2641 | if (opts.get('copies') and not opts.get('no_status') | |
|
2642 | and opt == 'added' and repo.dirstate.copies.has_key(f)): | |
|
2643 | ui.write(' %s%s' % (repo.dirstate.copies[f], end)) | |
|
2640 | 2644 | |
|
2641 | 2645 | def tag(ui, repo, name, rev_=None, **opts): |
|
2642 | 2646 | """add a tag for the current tip or a given revision |
@@ -3126,6 +3130,7 table = { | |||
|
3126 | 3130 | ('u', 'unknown', None, _('show only unknown (not tracked) files')), |
|
3127 | 3131 | ('i', 'ignored', None, _('show ignored files')), |
|
3128 | 3132 | ('n', 'no-status', None, _('hide status prefix')), |
|
3133 | ('C', 'copies', None, _('show source of copied files')), | |
|
3129 | 3134 | ('0', 'print0', None, |
|
3130 | 3135 | _('end filenames with NUL, for use with xargs')), |
|
3131 | 3136 | ('I', 'include', [], _('include names matching the given patterns')), |
General Comments 0
You need to be logged in to leave comments.
Login now