summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/lib/python/hgext/hgwebfs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/lib/python/hgext/hgwebfs.py b/sys/lib/python/hgext/hgwebfs.py
index 70db3bc56..5a5b260eb 100644
--- a/sys/lib/python/hgext/hgwebfs.py
+++ b/sys/lib/python/hgext/hgwebfs.py
@@ -47,6 +47,7 @@ class Webconn:
data = req.get_data()
post = open(self.dir+'/postbody', 'w', 0);
try:
+ data.seek(0)
while True:
buf = data.read(4096)
if len(buf) == 0: