mercurial/hg.py
branchstable
changeset 17874 2ba70eec1cf0
parent 17872 7d4e98bf114d
child 17875 92ba3cd55be6
--- a/mercurial/hg.py	Sat Sep 29 20:11:24 2012 +0900
+++ b/mercurial/hg.py	Sat Jul 28 23:28:36 2012 +0200
@@ -348,7 +348,7 @@
 
             # we need to re-init the repo after manually copying the data
             # into it
-            destpeer = peer(ui, peeropts, dest)
+            destpeer = peer(srcrepo, peeropts, dest)
             srcrepo.hook('outgoing', source='clone',
                           node=node.hex(node.nullid))
         else: