##// END OF EJS Templates
copy: fix introduced bug.
Vadim Gelfer -
r2417:3a4ae397 default
parent child Browse files
Show More
@@ -1066,7 +1066,7 b' def docopy(ui, repo, pats, opts, wlock):'
1066 os.makedirs(targetdir)
1066 os.makedirs(targetdir)
1067 try:
1067 try:
1068 restore = repo.dirstate.state(abstarget) == 'r'
1068 restore = repo.dirstate.state(abstarget) == 'r'
1069 if restore and not dry_run:
1069 if restore and not opts['dry_run']:
1070 repo.undelete([abstarget], wlock)
1070 repo.undelete([abstarget], wlock)
1071 try:
1071 try:
1072 if not opts['dry_run']:
1072 if not opts['dry_run']:
General Comments 0
You need to be logged in to leave comments. Login now