Show More
@@ -316,7 +316,7 b' def clone(ui, peeropts, source, dest=Non' | |||||
316 | if destvfs.lexists(): |
|
316 | if destvfs.lexists(): | |
317 | if not destvfs.isdir(): |
|
317 | if not destvfs.isdir(): | |
318 | raise util.Abort(_("destination '%s' already exists") % dest) |
|
318 | raise util.Abort(_("destination '%s' already exists") % dest) | |
319 |
elif |
|
319 | elif destvfs.listdir(): | |
320 | raise util.Abort(_("destination '%s' is not empty") % dest) |
|
320 | raise util.Abort(_("destination '%s' is not empty") % dest) | |
321 |
|
321 | |||
322 | srclock = destlock = cleandir = None |
|
322 | srclock = destlock = cleandir = None |
General Comments 0
You need to be logged in to leave comments.
Login now