Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 6647:602f7c1ab954
drop superfluous param from revlog.addgroup()
author | Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
---|---|
date | Thu, 05 Jun 2008 16:25:11 +0200 |
parents | 6334569c8caa |
children | 938eddd76237 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Tue Jun 03 09:34:14 2008 +0200 +++ b/mercurial/localrepo.py Thu Jun 05 16:25:11 2008 +0200 @@ -1985,7 +1985,7 @@ self.ui.status(_("adding changesets\n")) cor = cl.count() - 1 chunkiter = changegroup.chunkiter(source) - if cl.addgroup(chunkiter, csmap, trp, 1) is None and not emptyok: + if cl.addgroup(chunkiter, csmap, trp) is None and not emptyok: raise util.Abort(_("received changelog group is empty")) cnr = cl.count() - 1 changesets = cnr - cor