##// END OF EJS Templates
pullrequests: fix changesets ordering being reversed when creating new pull requests...
pullrequests: fix changesets ordering being reversed when creating new pull requests 41b4edf77b5b tried to make the displayed order of changeset consistent: The topmost is always the latest. That did however also reverse the ordering of the changesets sent back in the post when used in the pull request creation form. Displaying the pull request later on would reverse it again and thus show it in the 'wrong' order. We now undo that reversing when creating the pull requests, and the stored data will thus be the same as before.

File last commit:

r2815:acc05c33 beta
r3720:9855b31d beta
Show More
hgcompat.py
18 lines | 642 B | text/x-python | PythonLexer
"""
Mercurial libs compatibility
"""
from mercurial import archival, merge as hg_merge, patch, ui
from mercurial.commands import clone, nullid, pull
from mercurial.context import memctx, memfilectx
from mercurial.error import RepoError, RepoLookupError, Abort
from mercurial.hgweb.common import get_contact
from mercurial.localrepo import localrepository
from mercurial.match import match
from mercurial.mdiff import diffopts
from mercurial.node import hex
from mercurial.encoding import tolocal
from mercurial import discovery
from mercurial import localrepo
from mercurial import scmutil
from mercurial.discovery import findcommonoutgoing