# HG changeset patch # User Matt Mackall # Date 1284768152 18000 # Node ID e527b8635881fe8541155dbe033cfa3ab55cb47e # Parent 7458de933f266bf45de0e4748f08d5a3111d975f bundle: make unbundle object seekable This is only for uncompressed bundles used by bundlerepo. diff -r 7458de933f26 -r e527b8635881 mercurial/changegroup.py --- a/mercurial/changegroup.py Fri Sep 17 19:02:26 2010 -0500 +++ b/mercurial/changegroup.py Fri Sep 17 19:02:32 2010 -0500 @@ -146,6 +146,10 @@ return self._type != 'UN' def read(self, l): return self._stream.read(l) + def seek(self, pos): + return self._stream.seek(pos) + def tell(self): + return self._stream.tell(pos) class headerlessfixup(object): def __init__(self, fh, h):