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