mercurial/subrepo.py
changeset 14553 d976542986d2
parent 14509 4f695345979c
child 14556 517e1d88bf7e
--- a/mercurial/subrepo.py	Mon Jun 06 21:18:35 2011 +0200
+++ b/mercurial/subrepo.py	Wed Jun 08 18:24:33 2011 +0200
@@ -443,8 +443,8 @@
                                      % (subrelpath(self), srcurl))
                 parentrepo = self._repo._subparent
                 shutil.rmtree(self._repo.root)
-                other, self._repo = hg.clone(self._repo._subparent.ui, other,
-                                             self._repo.root, update=False)
+                other, self._repo = hg.clone(self._repo._subparent.ui, {}, other,
+                                         self._repo.root, update=False)
                 self._initrepo(parentrepo, source, create=True)
             else:
                 self._repo.ui.status(_('pulling subrepo %s from %s\n')