merge default into stable for 2.5 code freeze

--HG--
branch : stable
Added tag 2.5-rc for changeset f5fbe15ca744

--HG--
branch : stable
Added signature for changeset f5fbe15ca744

--HG--
branch : stable
merge: only sort manifests in debug mode (issue3769)

--HG--
branch : stable
i18n-pt_BR: synchronized with f5fbe15ca744

--HG--
branch : stable
debugsuccessorssets: fix typos in docstring

--HG--
branch : stable
largefiles: fix largefiles+subrepo update (issue3752)

Override updaterepo() instead of individual methods that may not be called for
each subrepo. Add test.
Based on patch from Matt Harbison.

Changes the order of update-related messages (now largefiles comes before the
global status).

--HG--
branch : stable
merge with i18n

--HG--
branch : stable
largefiles: enhance error message to make it more i18n-friendly

--HG--
branch : stable
documentation: update to new filter names

Changeset f3b21beb9802 change filter names but forgot some documentation
updates.

--HG--
branch : stable
bisect: use changelog for iteration

With changelog filtering, we can not use xrange anymore. We have to use the
changelog to do the iteration. This way, the changelog excludes filtered
revision and we can safely use what we iterate over.

Without this changes, bisect crash with a traceback if there is filtered
revision in the repo. Tests have been updated.

--HG--
branch : stable
changectx: fix the handling of `tip`

We can not use `len(repo,changelog)`, it may be a filtered revision. We now use
`repo,changelog.tip()` to fetch this information.

The `tip` command is also fixed and tested

Thanks goes to Idan Kamara for the initial report.

--HG--
branch : stable
help: add documentation for new template functions

--HG--
branch : stable
log: remove any ancestors of nullrev (issue3772)

For the special case, ":null" we remove the implied revision 0 since that
wouldn't make any sense here. A test case is added to make sure only nullrev is
shown.

--HG--
branch : stable
graphmod: don't try to visit nullrev (issue3772)

--HG--
branch : stable
tests: add regression tests for another revrange edge case

These tests would've passed before ac0c12123743 and e441657b372b.
Inserting them to make sure that continues to be the case.

--HG--
branch : stable
doc: use "tag" revset predicate instead of "tagged" for example in help

"tag" predicate is officially described in help, but "tagged" is not,
even though the latter works as same as the former.

--HG--
branch : stable
extra : amend_source : ea8cf96b96f7e6e22d10a98b596700a836e385db
test-bookmarks-pushpull.t: don't set bookmark active unnecessarily

The test in question doesn't have anything to do with having an active
bookmark. This change makes the test change the two bookmarks it affects
without making them active. It clears the way for adding a test for
updating to an active bookmark that moved out from under us.

--HG--
branch : stable
extra : rebase_source : dafae5199a21f33cf53583f12ac8ada1d29ab409
update: update to current bookmark if it moved out from under us (issue3682)

If the current bookmark (the one listed in .hg/bookmarks.current)
doesn't point to a parent of the working directory, e.g. if it was moved
by a pull, use that as the update target instead of the tipmost
descendent.

A small predicate is (finally) added to the bookmarks module to check
whether the current bookmark is also active.

--HG--
branch : stable
extra : rebase_source : 021016ea7a0bf1e7b8170d78a5e362ba0aff1b5b
test-rebase: add another test for rebase with multiple roots

This test the case when a Merge is dropped.

--HG--
branch : stable