mercurial - Why is "hg push" so much bigger than .hg? -


my project's .hg directory 40mb. if hg push --verbose --debug empty remote repository see sending hundreds of mbs. overhead coming from?

update: hg bundle -a generates 35mb file. here stripped-down version of output i'm seeing:

pushing https://jace.googlecode.com/hg/ using https://jace.googlecode.com/hg/ sending between command using auth.default.* authentication jace.googlecode.com certificate verified sending capabilities command using auth.default.* authentication capabilities: branchmap lookup unbundle=hg10un,hg10ugz,hg10bz changegroupsubset sending heads command using auth.default.* authentication searching changes common changesets 71818a195bf5 sending branchmap command [...] bundling: <filenames> sending unbundle command sending xxx bytes [...] sending: xxx/xxx kb 

this known python bug. because of way python http library work, first sends data, server replies needs auth, , resends data.

with recent mercurial (starting @ 1.9) can use alternative http library. add following in hgrc:

[ui] usehttp2 = true 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -