"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "mercurial/bundle2.py" between
mercurial-5.8.tar.gz and mercurial-5.8.1.tar.gz

About: Mercurial is a Source (Version) Control Management system designed for efficient handling of very large distributed projects.

bundle2.py  (mercurial-5.8):bundle2.py  (mercurial-5.8.1)
skipping to change at line 807 skipping to change at line 807
if paramssize < 0: if paramssize < 0:
raise error.BundleValueError( raise error.BundleValueError(
b'negative bundle param size: %i' % paramssize b'negative bundle param size: %i' % paramssize
) )
if paramssize: if paramssize:
params = self._readexact(paramssize) params = self._readexact(paramssize)
params = self._processallparams(params) params = self._processallparams(params)
return params return params
def _processallparams(self, paramsblock): def _processallparams(self, paramsblock):
"""""" """ """
params = util.sortdict() params = util.sortdict()
for p in paramsblock.split(b' '): for p in paramsblock.split(b' '):
p = p.split(b'=', 1) p = p.split(b'=', 1)
p = [urlreq.unquote(i) for i in p] p = [urlreq.unquote(i) for i in p]
if len(p) < 2: if len(p) < 2:
p.append(None) p.append(None)
self._processparam(*p) self._processparam(*p)
params[p[0]] = p[1] params[p[0]] = p[1]
return params return params
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)