Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 3490:ceaa3fefc10c
Merge with crew
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 24 Oct 2006 13:46:04 -0500 |
parents | ff06fe0703ef 0e68608bd11d |
children | bd8339976504 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Mon Oct 23 17:12:20 2006 -0500 +++ b/mercurial/localrepo.py Tue Oct 24 13:46:04 2006 -0500 @@ -1137,7 +1137,7 @@ reqcnt += 1 self.ui.debug(_("request %d: %s\n") % (reqcnt, " ".join(map(short, r)))) - for p in range(0, len(r), 10): + for p in xrange(0, len(r), 10): for b in remote.branches(r[p:p+10]): self.ui.debug(_("received %s:%s\n") % (short(b[0]), short(b[1]))) @@ -1757,7 +1757,7 @@ self.hook("changegroup", node=hex(self.changelog.node(cor+1)), source=srctype, url=url) - for i in range(cor + 1, cnr + 1): + for i in xrange(cor + 1, cnr + 1): self.hook("incoming", node=hex(self.changelog.node(i)), source=srctype, url=url)