largefiles: fix default clone destination regression
authorMatt Mackall <mpm@selenic.com>
Wed, 16 May 2012 11:40:33 -0500
changeset 16729 46c15dff3497
parent 16728 99f369f5a8db
child 16730 dd4ce44ff53c
largefiles: fix default clone destination regression
hgext/largefiles/overrides.py
--- a/hgext/largefiles/overrides.py	Tue May 15 07:01:35 2012 +0200
+++ b/hgext/largefiles/overrides.py	Wed May 16 11:40:33 2012 -0500
@@ -705,7 +705,7 @@
 
 def overrideclone(orig, ui, source, dest=None, **opts):
     if dest is None:
-        dest = defaultdest(source)
+        dest = hg.defaultdest(source)
     if opts.get('all_largefiles') and not hg.islocal(dest):
             raise util.Abort(_(
             '--all-largefiles is incompatible with non-local destination %s' %