Mercurial > public > mercurial-scm > hg-stable
diff mercurial/sshserver.py @ 22390:e2806b8613ca
changegroup: rename bundle-related functions and classes
Functions like getbundle and classes like unbundle10 really manipulate
changegroups and not bundles. A HG10 bundle is the same as a changegroup
plus a small header, but this is no longer the case for a HG2X bundle,
so it's better to separate the names a bit.
author | Sune Foldager <cryo@cyanite.org> |
---|---|
date | Tue, 02 Sep 2014 12:11:36 +0200 |
parents | d3775db748a0 |
children | 9f6e0e7ef828 |
line wrap: on
line diff
--- a/mercurial/sshserver.py Tue Aug 19 01:13:10 2014 +0200 +++ b/mercurial/sshserver.py Tue Sep 02 12:11:36 2014 +0200 @@ -142,7 +142,7 @@ return self.sendresponse("") - cg = changegroup.unbundle10(self.fin, "UN") + cg = changegroup.cg1unpacker(self.fin, "UN") r = changegroup.addchangegroup(self.repo, cg, 'serve', self._client()) self.lock.release() return str(r)