diff hgext/largefiles/lfcommands.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 0e58513cc59a
children a53888685a6c
line wrap: on
line diff
--- a/hgext/largefiles/lfcommands.py	Wed Oct 26 14:22:19 2011 -0500
+++ b/hgext/largefiles/lfcommands.py	Tue Oct 25 11:45:28 2011 -0400
@@ -245,7 +245,7 @@
 
                 # largefile was modified, update standins
                 fullpath = rdst.wjoin(f)
-                lfutil.createdir(os.path.dirname(fullpath))
+                util.makedirs(os.path.dirname(fullpath))
                 m = util.sha1('')
                 m.update(ctx[f].data())
                 hash = m.hexdigest()