fixed broken API tests after excluding default user
from users listing

--HG--
branch : beta
synced with latest vcs

--HG--
branch : beta
bumped mercurial to 2.6

--HG--
branch : beta
fix depracated PLATFORM_WIN var

--HG--
branch : beta
locking API returns objects instead of string messages.

- it's now possible to easily parse the output of lock functions

--HG--
branch : beta
make the password optional in API calls

--HG--
branch : beta
extra : amend_source : eca04f17952f5972059df2dcd35f034feb0ef7be
changelog: encode branch names with

ref: https://secure.rhodecode.org/rhodecode-fork-kiilerix/changeset/e175420889dc0d2f530bde8e094cc314e129d1a6

--HG--
branch : beta
hg: use 'revset injection safe' repo.revs for revsets

--HG--
branch : beta
diff: cleanup of variables and logging in compare and pullrequests

--HG--
branch : beta
pull requests: use branch name when creating PRs from a changelog with branch filter

--HG--
branch : beta
pullrequests: reorganize PR creation page - make it more like the view page

--HG--
branch : beta
small ui improvements to pull-request form

--HG--
branch : beta
diff: don't link to removed files

It is 'D' for removed, not 'removed'.

--HG--
branch : beta
diff parser: match the header order of hg diff --git patches

The output might look like:

  diff --git a/A b/B
  old mode 100644
  new mode 100755
  rename from A
  rename to B
  --- a/A
  +++ b/B

Such files were shown as 'modified binary file chmod 100644 => 100755' without
diff.

Now the chmod and diff will be shown ... but still not the rename.

Correct parsing of headers do require a better parser - one do not just use a
regexp.

--HG--
branch : beta
diff parser: more correct detection and reporting of binary git diffs

git mode is not just used for binary diffs.

--HG--
branch : beta
diff parser: show multiple messages ... and fix stats for non-git chunks

--HG--
branch : beta
diff parser: prefer git headers over old unified diff headers

Makes the diff show both rename and chmod info and the diff.

--HG--
branch : beta
diff parser: redefined operations stats for changes

- don't loose info about multiple operations like rename + chmod
- new Binary flag when dealing with binary file operations
- fixed diffs after mercurial 2.6 when GIT binary diffs were fixed
- added more tests for multiple operations

- refactored the way diffprocessor returns data. It's
  now easier to extract type of operation on binary files
- diffprocessor doesn't append that information into the diff itself

--HG--
branch : beta
extra : amend_source : 483664aa69ac407300797efe44ea26f3bfed87a4
added fancy file stats to changeset range view

--HG--
branch : beta
removed duplicate code that set os.environ['RC_SCM_DATA']
this was done via __inject_extras anyway

--HG--
branch : beta