check-code: fix an error message
check-code: prepend warning prefix for repeated warnings only once

When a warning occured several times in one file, "warning: " was prepended
several times:

examplefile.py:3:
 > def a(object):
 warning: this looks wrong
examplefile.py:27:
 > def x(object):
 warning: warning: this looks wrong
Merge with stable.
Merge with stable.
merge with stable
date: allow %z in format (issue4040)

--HG--
extra : amend_source : c4daa557e5074f8431f310bc3be0deed55dd311f
Makefile: do update on a temporary copy of a po file

This avoids having a half completed file (with a new timestamp) when msgmerge
has failed.
scmutil: skip checks in "casecollisionauditor" if filename is already checked

Before this patch, almost all of check code in
"casecollisionauditor.__call__()" is executed, even if specified
filename is already checked, because "f in self._newfiles" is examined
lastly.

In addition to it, adding "fl" to "self._loweredfiles" and "f" to
"self._newfiles" are also redundant in such case.

This patch checks "f in self._newfiles" first, and returns immediately
to avoid execution of check code for efficiency.
make: restrict recursion in make clean
tests: skip tests that require not having root (issue4089)

This adds a new root hghave to test against. Almost all of these are a
subset of unix-permissions, but that is also used for checking exec
bit handling.
contrib: add editmerge script for editor conflict prompts

Adds a script that opens the editor to the conflict as part of the merge
process. This way you can fix the merge during the rebase instead of having to
pause the rebase, resolve --mark, rebase --continue.

Only works on unix.
merge with stable
check-code: drop unneeded ignore patterns

The exceptions seem to have disappeared.

--HG--
extra : rebase_source : d2093918611be39b656794c2c6b7b211528a82e9
check-code: document last ignore regexp

For easier remembering to delete when it is not needed anymore.

--HG--
extra : rebase_source : 9976efb9d4c7c306cd9c1d80290d6edaeb10428d
help: document about {extras} template keyword

This adds text about the "extras" template keyword, similar to that proposed by
Yuya Nishihara previously.

--HG--
extra : rebase_source : 11c78a2cb977e1530312cf5f4ca540d9a128d237
help: adding example 'extras' printing to 'hg help templates'

--HG--
extra : rebase_source : b74ee0a8317161f90cebfe9b64290e43263e93f4
template: change extras to use showlist rather than manual templ call.

This enables start_extras and end_extras in template maps.

--HG--
extra : rebase_source : 215c2b07e9bee4c5b3ae03430147d45109aacc4a
run-tests: remove code that creates a dummy 'diffstat'

This was introduced in fb1d7a42663c for an old test that is no longer the same.

--HG--
extra : rebase_source : 022a2a005ae5498ff150b9c526ee6ceb5c42802e
run-tests: remove files that we potentially create outside of $TMPDIR

--HG--
extra : rebase_source : 794c362572b4099d5262875f9dfbd00119842a04
transplant: use peer of source repository as "remote" for "repo.pull()"

Before this patch, transplant with "--merge" option fails with
traceback unexpectedly, if it causes pull from the source repository
on the local host.

"discovery.findcommonincoming()" invokes "capable()" method on the
object given from "localrepository.pull()", but it is
"localrepository" object in this case and doesn't have such method.

This patch uses peer object of source repository as "remote" argument
for "localrepository.pull()" invocation like other invocations of it
in transplant.py.

--HG--
extra : rebase_source : 23f37c3eea8cbe967056e1714307a3daacb1e7cc