ref: 7482cd4053fdec20559ffef333b871d3d9886256
parent: e4dc3f9bd8bec99b030535012b1546e5baae717b
author: aiju <devnull@localhost>
date: Sat Feb 25 08:06:23 EST 2017
hgwebfs: rewind data before pushing
--- a/sys/lib/python/hgext/hgwebfs.py
+++ b/sys/lib/python/hgext/hgwebfs.py
@@ -47,6 +47,7 @@
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:
--
⑨