sapling/mercurial
Dirkjan Ochtman e7f8861527 hgweb: be sure to drain request data even in early error conditions
Thanks to Mads Kiilerich with noticing this. The hg client can only read data
after all the sent data has been read, so we have to read all the request data
even if we're not going to do anything with it (in error conditions). This
is not easy to fix in the client, because we're using Python's httplib, which
is strictly stateful. Abstracted the draining into a separate method.
2008-10-20 10:15:26 +02:00
..
hgweb hgweb: be sure to drain request data even in early error conditions 2008-10-20 10:15:26 +02:00
__init__.py Add back links from file revisions to changeset revisions 2005-05-03 13:16:10 -08:00
ancestor.py symmetricdifference: move back to copies 2008-03-29 12:39:47 -05:00
archival.py move % out of translatable strings 2008-08-16 14:46:56 +02:00
base85.c python2.5 PyArg_ParseTuple fix 2006-10-12 14:04:11 -03:00
bdiff.c bdiff: normalize the diff (issue1295) 2008-10-14 20:13:53 +02:00
bundlerepo.py i18n: mark strings for translation in Mercurial 2008-08-31 16:12:02 +02:00
byterange.py use Exception(args)-style raising consistently (py3k compatibility) 2008-09-08 13:07:00 +02:00
changegroup.py improve changegroup.readbundle(), use it in hgweb 2008-02-21 17:02:28 +01:00
changelog.py merge with crew-stable 2008-09-17 11:34:37 +02:00
cmdutil.py rename: handle renaming to a target marked removed 2008-10-18 04:26:09 -05:00
commands.py commands: optional options where possible 2008-10-18 18:05:56 +02:00
context.py context: improve memctx documentation 2008-10-11 13:07:29 +02:00
copies.py util: add sort helper 2008-06-27 18:28:45 -05:00
demandimport.py demandimport: handling new relative imports 2008-01-16 19:14:54 +03:30
diffhelpers.c Handle patches with misformatted empty lines 2007-11-01 17:15:50 -05:00
dirstate.py get rid of semi-colon introduced in 89c0afc2016a 2008-10-18 16:30:50 +02:00
dispatch.py merge with -stable 2008-09-06 17:04:01 +02:00
extensions.py Do not try to load extensions twice (issue811) 2008-09-09 14:43:12 +02:00
fancyopts.py transform a bunch of print statements to appropriate ui calls 2008-01-18 10:48:25 -06:00
filelog.py Remove unused imports 2008-03-06 22:23:41 +01:00
filemerge.py util: add sort helper 2008-06-27 18:28:45 -05:00
graphmod.py hgweb: let the web graph cope with low revisions/new repositories (issue1293) 2008-09-12 16:15:01 +02:00
hbisect.py Merge with crew-stable 2008-08-02 23:45:10 +02:00
help.py i18n: mark help strings for translation 2008-09-09 21:32:39 +02:00
hg.py clone: honor -r even when pulling named branches 2008-09-24 13:10:09 +02:00
hook.py util: add sort helper 2008-06-27 18:28:45 -05:00
httprangereader.py update copyrights. 2006-08-12 12:30:02 -07:00
httprepo.py enhance the error output in case of failure during http push 2008-09-08 14:22:14 +02:00
i18n.py Enable gettext translations 2006-12-14 17:32:00 -06:00
ignore.py ignore: fix up comment parsing 2007-12-10 10:26:42 -06:00
keepalive.py python 2.6 compatibility: compatibility wrappers for hash functions 2008-04-04 22:36:40 +02:00
localrepo.py fix issue with strip() for revlog with non-monotonic linkrevs (issue1342) 2008-10-18 20:25:45 +02:00
lock.py Use format string for lockname again (was changed by cb157328a155) 2007-07-21 10:39:42 +02:00
lsprof.py use Exception(args)-style raising consistently (py3k compatibility) 2008-09-08 13:07:00 +02:00
mail.py mail: add methods to handle non-ascii chars 2008-07-12 19:11:59 +01:00
manifest.py manifest: make checkforbidden take a list 2008-06-27 19:27:00 -05:00
match.py dirstate.walk: speed up calling match function 2008-07-22 13:03:31 -05:00
mdiff.py mdiff: compare content of binary files directly 2008-08-09 02:10:22 +02:00
merge.py merge: fix bug going backwards for already reverted files (issue1303) 2008-10-08 16:22:08 -05:00
mpatch.c allow Mercurial to compile on Haiku 2008-09-17 10:22:35 +02:00
node.py manifest: speed up creation of the manifestdict 2007-07-23 20:44:08 -05:00
osutil.c _listdir only uses dfd if AT_SYMLINK_NOFOLLOW is defined 2008-10-18 11:43:45 -07:00
osutil.py fix conflicting variables when no native osutil is available 2008-09-29 11:57:27 +02:00
parsers.c merge with crew 2008-10-19 20:29:41 +02:00
patch.py patch: pass linereader to binaryhunk.extract() instead of wrapped fp 2008-10-18 23:45:46 +02:00
repair.py i18n: mark strings for translation in Mercurial 2008-08-31 16:12:02 +02:00
repo.py repo: add rjoin method 2008-04-11 22:19:52 -07:00
revlog.py use the new parseindex implementation C in parsers 2008-10-17 00:24:22 +02:00
simplemerge.py Remove unused imports 2008-03-06 22:23:41 +01:00
sshrepo.py python2.6: use subprocess if available 2008-10-05 21:35:26 +02:00
sshserver.py make streamclone.stream_out() a generator 2008-08-15 13:25:57 +02:00
statichttprepo.py merge with crew-stable 2008-10-19 22:07:43 +02:00
store.py store: pathjoiner default value is os.path.join 2008-09-05 11:00:07 +02:00
streamclone.py i18n: mark strings for translation in Mercurial 2008-08-31 16:12:02 +02:00
strutil.py convert: tolerate embedded spaces in filemap source revisions 2008-10-10 11:32:38 +02:00
templatefilters.py add graph page to hgweb 2008-06-18 07:06:41 +02:00
templater.py Allow hgweb to search for templates in more than one path. 2008-10-17 11:34:31 -07:00
transaction.py rollback: unlink files truncated to length 0 2008-03-31 23:02:25 -07:00
ui.py ui: add an option to prompt for the username when it isn't provided 2008-08-06 15:10:05 +02:00
util_win32.py Folding correction and missing import 2008-08-12 10:05:00 -04:00
util.py Add util.popen3 fallback, simplify import of Popen3 2008-10-19 12:19:55 +02:00
verify.py issue 1144: prevent traceback on verify of bundles 2008-10-18 14:43:14 -04:00
version.py Make mercurial easy installable again 2008-04-24 13:37:29 +02:00