Created a class in util called chunkbuffer that buffers reads from an
iterator over strings (aka chunks).
Also added to util (for future use) is a generator function that
iterates over a file n bytes at a time.
Lastly, localrepo was changed to use this new chunkbuffer class when
reading changegroups form the local repository.
Date validation must check for 32-bit width. Don't use assert to check.
Make date/timezone validation in changelog.add more robust. Add test.
Revert changeset
120aa5fc7ced1bf765b4f025f5a3a138cd87f49e.
I inadvertantly used "hg import" on a message I saved, expecting it to do
the right thing, but instead it made the commit look like I authored it,
and filled the description with the email header.
Changeset
737f9b90c571b3991f7e35dc846e7ef38a475cfe contains a guard
against "hg import" doing this again.
Make import command reject patches that resemble email messages.
See changeset
120aa5fc7ced1bf765b4f025f5a3a138cd87f49e for an example
of why this is a good idea.