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