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