mercurial/hg.py
changeset 2612 ffb895f16925
parent 2600 c4325f0a9b91
child 2613 479e26afa10f
--- a/mercurial/hg.py	Thu Jul 13 09:50:51 2006 -0700
+++ b/mercurial/hg.py	Fri Jul 14 11:17:22 2006 -0700
@@ -179,7 +179,7 @@
             revs = [src_repo.lookup(r) for r in rev]
 
         if dest_repo.local():
-            dest_repo.pull(src_repo, heads=revs)
+            dest_repo.clone(src_repo, heads=revs, pull=pull)
         elif src_repo.local():
             src_repo.push(dest_repo, revs=revs)
         else: