mercurial/hg.py
changeset 39186 e8deaa77c1b6
parent 39185 143efea71c2a
child 39388 ddfd80029306
--- a/mercurial/hg.py	Sat Aug 18 00:51:26 2018 -0400
+++ b/mercurial/hg.py	Sat Aug 18 01:07:43 2018 -0400
@@ -266,7 +266,7 @@
         raise error.Abort(_('destination already exists'))
 
     if not destwvfs.isdir():
-        destwvfs.mkdir()
+        destwvfs.makedirs()
     destvfs.makedir()
 
     requirements = ''