hgext/largefiles/localstore.py
branchstable
changeset 15371 f26ed4ea46d8
parent 15317 41f371150ccb
child 16928 73b9286e667c
--- a/hgext/largefiles/localstore.py	Wed Oct 26 14:22:19 2011 -0500
+++ b/hgext/largefiles/localstore.py	Tue Oct 25 11:45:28 2011 -0400
@@ -27,7 +27,7 @@
         self.remote = remote
 
     def put(self, source, hash):
-        lfutil.createdir(os.path.dirname(lfutil.storepath(self.remote, hash)))
+        util.makedirs(os.path.dirname(lfutil.storepath(self.remote, hash)))
         if lfutil.instore(self.remote, hash):
             return
         lfutil.link(lfutil.storepath(self.repo, hash),