Show More
@@ -164,11 +164,10 b' def clone(ui, source, dest=None, pull=Fa' | |||||
164 |
|
164 | |||
165 | if copy: |
|
165 | if copy: | |
166 | def force_copy(src, dst): |
|
166 | def force_copy(src, dst): | |
167 |
|
|
167 | if not os.path.exists(src): | |
168 | util.copyfiles(src, dst) |
|
168 | # Tolerate empty source repository and optional files | |
169 |
|
|
169 | return | |
170 | if inst.errno != errno.ENOENT: |
|
170 | util.copyfiles(src, dst) | |
171 | raise |
|
|||
172 |
|
171 | |||
173 | src_store = os.path.realpath(src_repo.spath) |
|
172 | src_store = os.path.realpath(src_repo.spath) | |
174 | if not os.path.exists(dest): |
|
173 | if not os.path.exists(dest): |
General Comments 0
You need to be logged in to leave comments.
Login now