changeset 12330:e527b8635881

bundle: make unbundle object seekable This is only for uncompressed bundles used by bundlerepo.
author Matt Mackall <mpm@selenic.com>
date Fri, 17 Sep 2010 19:02:32 -0500
parents 7458de933f26
children 40935b59518b
files mercurial/changegroup.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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):