equal
deleted
inserted
replaced
802 copied = [] |
802 copied = [] |
803 targets = {} |
803 targets = {} |
804 |
804 |
805 def okaytocopy(abs, rel, exact): |
805 def okaytocopy(abs, rel, exact): |
806 reasons = {'?': _('is not managed'), |
806 reasons = {'?': _('is not managed'), |
807 'a': _('has been marked for add')} |
807 'a': _('has been marked for add'), |
|
808 'r': _('has been marked for remove')} |
808 reason = reasons.get(repo.dirstate.state(abs)) |
809 reason = reasons.get(repo.dirstate.state(abs)) |
809 if reason: |
810 if reason: |
810 if exact: |
811 if exact: |
811 ui.warn(_('%s: not copying - file %s\n') % (rel, reason)) |
812 ui.warn(_('%s: not copying - file %s\n') % (rel, reason)) |
812 else: |
813 else: |