Files @ ff3f10a6a203
Branch filter:

Location: kallithea/rhodecode/lib/vcs/backends/hg/__init__.py

Mads Kiilerich
pullrequest: just replace children of other_ref when other_repo changes

We were inserting a full select statement as innerHTML of a select and would
thus get nested select statements. IE did not render that correctly ... and
other browsers did strange things.

Instead we now create a in memory DOM object and move the optgroups. After
appending children to the selector we have to set selectedIndex on all
browsers.
# -*- coding: utf-8 -*-
"""
    vcs.backends.hg
    ~~~~~~~~~~~~~~~~

    Mercurial backend implementation.

    :created_on: Apr 8, 2010
    :copyright: (c) 2010-2011 by Marcin Kuzminski, Lukasz Balcerzak.
"""

from .repository import MercurialRepository
from .changeset import MercurialChangeset
from .inmemory import MercurialInMemoryChangeset
from .workdir import MercurialWorkdir


__all__ = [
    'MercurialRepository', 'MercurialChangeset',
    'MercurialInMemoryChangeset', 'MercurialWorkdir',
]