mercurial/hg.py
changeset 40575 fb490d798be0
parent 40440 09a37a5d8f5d
child 40576 85bf93def065
--- a/mercurial/hg.py	Fri Nov 09 09:36:16 2018 -0800
+++ b/mercurial/hg.py	Fri Nov 09 10:46:02 2018 -0800
@@ -270,6 +270,7 @@
     })
 
     postshare(srcrepo, r, defaultpath=defaultpath)
+    r = repository(ui, dest)
     _postshareupdate(r, update, checkout=checkout)
     return r