Show More
@@ -715,7 +715,10 b' def clone(ui, source, dest=None, **opts)' | |||||
715 | for f in files.split(): |
|
715 | for f in files.split(): | |
716 | src = os.path.join(source, ".hg", f) |
|
716 | src = os.path.join(source, ".hg", f) | |
717 | dst = os.path.join(dest, ".hg", f) |
|
717 | dst = os.path.join(dest, ".hg", f) | |
718 | util.copyfiles(src, dst) |
|
718 | try: | |
|
719 | util.copyfiles(src, dst) | |||
|
720 | except OSError, inst: | |||
|
721 | if inst.errno != errno.ENOENT: raise | |||
719 |
|
722 | |||
720 | repo = hg.repository(ui, dest) |
|
723 | repo = hg.repository(ui, dest) | |
721 |
|
724 |
General Comments 0
You need to be logged in to leave comments.
Login now