help: consistently use title capitalization for help topics

--HG--
branch : stable
doc: update copyright years to 2012

I sometimes look at a piece of software and if the man page says
"Copyright 2004", then I'm inclined to think that the project is stale
or that the authors are lazy. Neither is good publicity for us :-)

--HG--
branch : stable
help/config: expand [subpaths] help

Brifly explain why rewriting subrepository paths can be necessary.
Explain that relative subrepository paths are made absolute before
rewrite rules are applied.

--HG--
branch : stable
test-rebase-parameters: more tests for revset/opts

- --source and revset
- --base and revset
- --rev and revset
- --rev and --source combination
- --rev and --base combination

--HG--
branch : stable
extra : rebase_source : 50fdb29eca0f5d8d39ae7bab90fc733ffc2f2063
localrepo: add setparents() to adjust dirstate copies (issue3407)

The fix introduced in eab9119c5dee was only partially successful. It is correct
to turn dirstate 'm' merge records into normal/dirty ones but copy records are
lost in the process. To adjust them as well, we need to look in the first
parent manifest to know which files were added and preserve only related
records. But the dirstate does not have access to changesets, the logic has to
moved at another level, in localrepo.

--HG--
branch : stable
extra : rebase_source : c3288a87974a703ed19fffab48732a79e307583e
test-commit-amend: exhibit an --amend weirdness

The weirdness is --amend let you replace one file with another with same data
and flags if the new file copy record differ from the one in the parent
revision. In theory, there is no problem with this kind of thing, subversion
supports it, but here we see log and status disagree. The reason is log reads
the copy record from the filelog, while status calls copies.pathcopies() which
eventually invokes some expensiveness argument to discard this case (copies.py,
_forwardcopies(), line 132). Since the next patch will side with pathcopies(),
I prefer to call this behaviour a bug.

--HG--
branch : stable
extra : rebase_source : f6ae7c797678cfbaba16898efe3c440dbdf8e374
amend: fix copy records handling (issue3410)

Messing with the dirstate before the intermediate commit seems error prone.
Instead, commit and recompute the copies with copies.pathcopies(), then use
that with commitctx().

Since copies.pathcopies() does not support file replacement very well, the
whole .renamed() condition in samefile() is removed and the "file replacement
caused by differing copy source" effect is discarded.

Test shamelessly stolen from Idan Kamara <idankk86@gmail.com>

--HG--
branch : stable
extra : rebase_source : 4ac7698a8625fb180d358e3cfcdae4dc676fbc10
subrepo/svn: fix checked out rev number retrieval (issue2968)

The initial version was to take the "Revision" field from svn info. It works
but produces false positive when parent paths are being moved or unrelated
changes are being committed, causing it to change while the svn checkout itself
remains the same. To avoid spurious commit, we took "Revision" and "Last
Changed Rev" for general comparison and kept the latter to answer "what is your
revision?" question. This is better but fails when the subrepo path exists at
"Revision" but not at "Last Changed Rev". This patch adds a check for this, and
returns "Revision" if the path does not exist. We try to avoid doing this as
much as possible at it implies an extra, *remote* call.

--HG--
branch : stable
extra : rebase_source : 18e2e1552159bdc90131b901992403e303a6da00
subrepo/svn: cache _wcrev() value in merge()

--HG--
branch : stable
extra : rebase_source : fa7bea8b4c9147302244bf46da28da50c7396f91
plan9: mkfile and 9diff fixes

This patch deals with an unnecessary backslash in 9diff and improper
quoting in the contrib mkfile.

--HG--
branch : stable
extra : rebase_source : 3b15c587d1eea946b81d4c8d02ad12958db76d5e
i18n-ja: synchronized with be786c5ac0a8

--HG--
branch : stable
changegroup: decompress GZ algorithm in larger chunks for better performance

--HG--
branch : stable
extra : rebase_source : 1901a7258e8404ef53723f1dd360e8339432f38f
merge with i18n

--HG--
branch : stable