changeset 21804 | becb61de90a1 |
parent 21803 | 62cc4055c6c8 |
child 22263 | ab0c42d22522 |
--- a/mercurial/hg.py Sat Jun 21 14:44:09 2014 +0530 +++ b/mercurial/hg.py Sat Jun 21 14:49:49 2014 +0530 @@ -316,7 +316,7 @@ if destvfs.lexists(): if not destvfs.isdir(): raise util.Abort(_("destination '%s' already exists") % dest) - elif os.listdir(dest): + elif destvfs.listdir(): raise util.Abort(_("destination '%s' is not empty") % dest) srclock = destlock = cleandir = None