Show More
@@ -768,9 +768,7 b' def docopy(ui, repo, pats, opts):' | |||
|
768 | 768 | if not opts['after']: |
|
769 | 769 | try: |
|
770 | 770 | shutil.copyfile(rel, myreldest) |
|
771 | n = repo.manifest.tip() | |
|
772 | mf = repo.manifest.readflags(n) | |
|
773 | util.set_exec(myreldest, util.is_exec(rel, mf[abs])) | |
|
771 | shutil.copymode(rel, myreldest) | |
|
774 | 772 | except shutil.Error, inst: |
|
775 | 773 | raise util.Abort(str(inst)) |
|
776 | 774 | except IOError, inst: |
General Comments 0
You need to be logged in to leave comments.
Login now