mercurial/localrepo.py
branchstable
changeset 12847 b00eda50ad2b
parent 12752 18b5b6392fcf
child 12899 fabe61418a53
--- a/mercurial/localrepo.py	Tue Oct 26 02:38:14 2010 +0530
+++ b/mercurial/localrepo.py	Wed Oct 20 17:38:21 2010 -0500
@@ -1272,7 +1272,7 @@
                 self.ui.status(_("no changes found\n"))
                 return 0
 
-            if fetch == [nullid]:
+            if heads is None and fetch == [nullid]:
                 self.ui.status(_("requesting all changes\n"))
             elif heads is None and remote.capable('changegroupsubset'):
                 # issue1320, avoid a race if remote changed after discovery