hgext/largefiles/localstore.py
changeset 18998 d035c3902111
parent 18545 a49b7c9fc246
child 19000 eaf146e811a4
--- a/hgext/largefiles/localstore.py	Tue Apr 09 23:40:11 2013 +0900
+++ b/hgext/largefiles/localstore.py	Mon Apr 15 23:32:33 2013 +0200
@@ -8,9 +8,6 @@
 
 '''store class for local filesystem'''
 
-import os
-
-from mercurial import util
 from mercurial.i18n import _
 
 import lfutil
@@ -26,7 +23,6 @@
         super(localstore, self).__init__(ui, repo, self.remote.url())
 
     def put(self, source, 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),