Mercurial > hg
diff mercurial/localrepo.py @ 5221:8ede77c2d008
pull -r: pass the revisions as the heads argument of findincoming
This can make a hg pull -r faster if the remote repo has many heads,
and fixes an "abort: received changelog group is empty".
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Mon, 27 Aug 2007 01:44:35 -0300 |
parents | bddb4ff134c0 |
children | 466323968b23 5517aa5aafb0 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Sun Aug 26 19:05:19 2007 +0200 +++ b/mercurial/localrepo.py Mon Aug 27 01:44:35 2007 -0300 @@ -1312,7 +1312,7 @@ mylock = True try: - fetch = self.findincoming(remote, force=force) + fetch = self.findincoming(remote, heads=heads, force=force) if fetch == [nullid]: self.ui.status(_("requesting all changes\n"))