mercurial/hg.py
changeset 8417 39cf453da958
parent 8312 b87a50b7125c
child 8649 2c097e22492c
--- a/mercurial/hg.py	Thu May 14 13:24:39 2009 -0500
+++ b/mercurial/hg.py	Thu May 14 22:00:56 2009 +0200
@@ -219,7 +219,7 @@
                                        "lookup and so doesn't support clone by "
                                        "revision"))
                 revs = [src_repo.lookup(r) for r in rev]
-
+                checkout = revs[0]
             if dest_repo.local():
                 dest_repo.clone(src_repo, heads=revs, stream=stream)
             elif src_repo.local():