changeset 7561 | fa23d169a895 |
parent 7517 | 49f34b43cf90 |
child 7572 | 4f58147ea829 |
7560:305efd897a63 | 7561:fa23d169a895 |
---|---|
33 try: |
33 try: |
34 os.makedirs(dstdir) |
34 os.makedirs(dstdir) |
35 except IOError: |
35 except IOError: |
36 raise util.Abort( |
36 raise util.Abort( |
37 _("cannot create %s: unable to create destination directory") |
37 _("cannot create %s: unable to create destination directory") |
38 % dst) |
38 % dst) |
39 |
39 |
40 util.copyfile(abssrc, absdst) |
40 util.copyfile(abssrc, absdst) |
41 |
41 |
42 # public functions |
42 # public functions |
43 |
43 |