mercurial/hg.py
branchstable
changeset 17342 471f30d360ea
parent 17248 6ffb35b2284c
child 17671 fdd0fc046cf1
child 17703 4a07d2ff7c66
--- a/mercurial/hg.py	Mon Aug 06 12:03:07 2012 -0500
+++ b/mercurial/hg.py	Wed Aug 08 10:04:02 2012 -0500
@@ -398,7 +398,7 @@
 
             if update:
                 if update is not True:
-                    checkout = srcrepo.lookup(update)
+                    checkout = srcpeer.lookup(update)
                 for test in (checkout, 'default', 'tip'):
                     if test is None:
                         continue