Mercurial > hg
diff hgext/largefiles/localstore.py @ 15371:f26ed4ea46d8 stable
largefiles: remove lfutil.createdir, replace calls with util.makedirs
author | Hao Lian <hao@fogcreek.com> |
---|---|
date | Tue, 25 Oct 2011 11:45:28 -0400 |
parents | 41f371150ccb |
children | 73b9286e667c |
line wrap: on
line diff
--- 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),