httprepo: proper handling of invalid responses without content-type (
issue2019)
This can currently be tested on http://sf.net/
strip: make it clear that --force discards changes (
issue310)
tags: catch more corruption during cache parsing (
issue2779)
localrepo: don't add deleted files to list of modified/added files (
issue2761)
If a file is deleted (rm, not 'hg rm') from the working dir
an attempt to run 'hg diff -r X', with the file being present in X will
cause an abort.
We didn't check if the file has been deleted from the working dir
and later on tried to open it to compare with the one from X, causing the abort.
This fix adds that check. Consequently, no output will be returned.
localrepo: ignore tags to unknown nodes (
issue2750)
bookmarks: do not forward merged bookmark (
issue1877)
rebase: restore mq guards after rebasing (
issue2107)
Guards on rebased mq patches were lost.
This patch restores them after the qimporting step.
revset: report a parse error if a revset is not parsed completely (
issue2654)
color: fix --color=always when output is piped
Also restructures the mode determination as discussed on IRC.
I tried to simplify the code too, while keeping the original
semantics except for the case of --color=always.