localrepo: factor commit and rawcommit
note: rawcommit with an empty text will now launch the editor
localrepo.commit: little cleanups
- use a list for new fileids
- sort the removed files
Fix up parent display in logging
For changesets with a first parent nullid, but not rev 0, we ought to
display a null parent.
Remove references to documentation that was removed in
da9506fe2710
Fixed directory name having an extra dot on "hg archive -t tbz2 foo.tbz2".
Problem reported by Rob Landley.
Try hgweb unbundle methods in the order presented by the server.
If no common bundle format is found, push is aborted.
Add allowed bundle types as argument to hgweb unbundle capability.
Arguments to capabilities were added before the 0.9.1 release, so there
are no compatibility issues. Mercurial 0.9 didn't support http push.
Using HG10GZ, HG10BZ and HG10UN has the advantage that new bundle types can
be added later and the client doesn't have to try sending them first and
reacting on errors sent by the server.
hgweb: introduce a new capability for sending a compressed bundle
the header of the bundle is the same as a on-disk bundle
HG10UN: uncompressed
HG10BZ: bz2
HG10GZ: gzip
no header means uncompressed (old client)
Use httpconnection even with proxies.
This should give us HTTP keepalive when we talk to proxies and
should allow us to stream a file in unbundle (instead of
reading everything into a string).
This should fix
issue376.