diff -r 4b334f8c941b -r b00eda50ad2b mercurial/localrepo.py --- 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