comparison mercurial/cmdutil.py @ 24364:135b23868f45

commands: replace "working copy" with "working directory" in help/messages "working directory" is the standard term, we should use it consistently. But I didn't touch the hint, "run 'hg update' to get a working copy", because "get a working directory" sounds a bit odd.
author Yuya Nishihara <yuya@tcha.org>
date Tue, 17 Mar 2015 22:47:08 +0900
parents 521fe8287dd5
children 8c445d8a915b
comparison
equal deleted inserted replaced
24363:852801178a63 24364:135b23868f45
586 else: 586 else:
587 util.copyfile(src, target) 587 util.copyfile(src, target)
588 srcexists = True 588 srcexists = True
589 except IOError, inst: 589 except IOError, inst:
590 if inst.errno == errno.ENOENT: 590 if inst.errno == errno.ENOENT:
591 ui.warn(_('%s: deleted in working copy\n') % relsrc) 591 ui.warn(_('%s: deleted in working directory\n') % relsrc)
592 srcexists = False 592 srcexists = False
593 else: 593 else:
594 ui.warn(_('%s: cannot copy - %s\n') % 594 ui.warn(_('%s: cannot copy - %s\n') %
595 (relsrc, inst.strerror)) 595 (relsrc, inst.strerror))
596 return True # report a failure 596 return True # report a failure