mercurial/hg.py
changeset 22647 5b6cd8526d56
parent 22646 d6ecdb8bfa16
child 22648 ef62c66bee1b
--- a/mercurial/hg.py	Fri Sep 26 13:55:53 2014 -0700
+++ b/mercurial/hg.py	Fri Sep 26 15:15:49 2014 -0700
@@ -413,7 +413,8 @@
             if destpeer.local():
                 destpeer.local().clone(srcpeer, heads=revs, stream=stream)
             elif srcrepo:
-                exchange.push(srcrepo, destpeer, revs=revs)
+                exchange.push(srcrepo, destpeer, revs=revs,
+                              bookmarks=srcrepo._bookmarks.keys())
             else:
                 raise util.Abort(_("clone from remote to remote not supported"))