Module ImportFrom alias Import alias Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr TupleLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Str Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Str Assign AttributeStore NameLoad attr ListLoad Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Assign NameStore Call NameLoad ListLoad Str Str Str Str Str keyword NameLoad keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr CompareIsNot NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad Str body Assign NameStore Call NameLoad ListLoad Str Str keyword AttributeLoad NameLoad attr keyword NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str If BoolOpOr AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Return Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Str Str Str keyword NameLoad If BoolOpAnd UnaryOpNot Call AttributeLoad NameLoad attr Str UnaryOpNot Call AttributeLoad NameLoad attr Str UnaryOpNot Call AttributeLoad Call AttributeLoad NameLoad attr attr Str body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Str For NameStore AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr TupleLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Break Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad ListLoad Str Str body Expr Call AttributeLoad NameLoad attr Str Return NameLoad Expr Call AttributeLoad NameLoad attr If UnaryOpNot AttributeLoad NameLoad attr body Return NameLoad If CompareEq AttributeLoad NameLoad attr Str body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Str Return Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults ListLoad body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad NameLoad Assign NameStore Dict If CompareEq NameLoad Num body If CompareEq AttributeLoad NameLoad attr Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str orelse Assign NameStore Call AttributeLoad NameLoad attr keyword Str If BoolOpOr CompareIs SubscriptLoad NameLoad Index Num NameLoad CompareIs SubscriptLoad NameLoad Index Num NameLoad body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If AttributeLoad AttributeLoad NameLoad attr attr body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareEq NameLoad Num body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr ListLoad Str Str Str Str SubscriptLoad NameLoad Index Str Str Str attr Index Num If CompareNotEq Call NameLoad SubscriptLoad NameLoad Index Str Num body Raise Call NameLoad Str orelse If CompareEq NameLoad Num body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num orelse Raise NameLoad If BoolOpOr CompareNotIn Str NameLoad CompareNotIn Str NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareNotIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad If UnaryOpNot NameLoad body Return NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr ListLoad Str Str Str Str SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Str Str attr If CompareEq Call NameLoad NameLoad Num body Raise Call NameLoad Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Str Str Call NameLoad NameLoad keyword NameLoad keyword NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad orelse Return SubscriptLoad Call AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr If NameLoad body Return Call NameLoad Call AttributeLoad NameLoad attr Num orelse Return NameLoad decorator_list Assign AttributeStore NameLoad attr Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str If UnaryOpNot BoolOpAnd NameLoad NameLoad body Return NameLoad Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Assign NameStore Call NameLoad ListLoad NameLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Index Num NameLoad Str Str Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Call NameLoad NameLoad Return Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad ListLoad Str Str keyword NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Num If CompareEq Call NameLoad NameLoad Num body Assign TupleStore NameStore NameStore NameLoad orelse Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Str BinOpMod Str TupleLoad NameLoad NameLoad Str BinOpMod Str NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Slice Num Num Return Call AttributeLoad Str attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults ListLoad ListLoad ListLoad body Expr Str Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Str If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str AugAssignAdd NameStore NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad ListLoad Str SubscriptLoad NameLoad Index Str Str SubscriptLoad NameLoad Index Str keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str keyword NameLoad If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad ListLoad Str NameLoad Str SubscriptLoad NameLoad Index Str keyword AttributeLoad NameLoad attr keyword NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad NameLoad Index Str keyword NameLoad orelse Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str NameLoad Str keyword AttributeLoad NameLoad attr keyword NameLoad Return Dict Str Str Str Str NameLoad NameLoad Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults ListLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore BinOpSub NameLoad NameLoad If UnaryOpNot BoolOpOr NameLoad NameLoad body Return NameLoad Assign NameStore Call NameLoad ListLoad Str Str Str NameLoad Str NameLoad Str Str keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Str For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body AugAssignAdd NameStore Call AttributeLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad attr Str For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body AugAssignAdd NameStore Call AttributeLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore ListLoad Str Str Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Str Return Call NameLoad Call AttributeLoad NameLoad attr Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpOr Call NameLoad AttributeLoad NameLoad attr Str NameLoad Call AttributeLoad Call NameLoad ListLoad Str Str Str Str Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot NameLoad body TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults ListLoad NameLoad body Expr Str If NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore ListLoad Str Str Str NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call NameLoad ListLoad Str Str keyword AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad CompareEq NameLoad SubscriptLoad NameLoad Index Num If NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad Assign NameStore NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad Str Str Str Str Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword TupleLoad Num For NameStore Call AttributeLoad NameLoad attr body If UnaryOpNot NameLoad body Continue If Call AttributeLoad NameLoad attr Str body Continue Assign TupleStore NameStore NameStore NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BoolOpOr NameLoad Str If UnaryOpNot Call AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad GeneratorExp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad ListLoad Str Str Str Call NameLoad NameLoad Str Str keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore NameLoad CompareNotEq NameLoad Str Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareNotIn NameLoad NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num Break orelse Assign NameStore BinOpSub NameLoad Num Assign NameStore Call NameLoad Num NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad If BoolOpAnd UnaryOpNot NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr If BoolOpAnd UnaryOpNot NameLoad CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad Call NameLoad attr NameLoad If NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr CompareIn Str NameLoad body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareNotEq NameLoad Str Expr Call AttributeLoad NameLoad attr ListLoad Str BinOpMod Str AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad ListLoad Str Str Str Str Str Str Return CompareNotEq NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore ListLoad Str Str Str If NameLoad body AugAssignAdd NameStore ListLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Return Call NameLoad keyword CompareEq NameLoad Num keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Expr Call NameLoad NameLoad Assign NameStore Call NameLoad BinOpAdd ListLoad Str Str NameLoad keyword NameLoad keyword NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad orelse Assign NameStore NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad BinOpAdd ListLoad Str Str NameLoad keyword NameLoad keyword NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad orelse Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpAnd AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Call NameLoad ListLoad Str Str Str keyword NameLoad attr decorator_list decorator_list
N/A __future__ unicode_literals N/A logging N/A os N/A re N/A uuid six.moves.urllib.parse urlsplit urlunparse rbtools.clients PatchResult SCMClient RepositoryInfo rbtools.clients.errors InvalidRevisionSpecError TooManyRevisionsError rbtools.clients.svn SVNClient rbtools.utils.checks check_install rbtools.utils.filesystem make_empty_files rbtools.utils.console edit_text rbtools.utils.process die execute MercurialClient N/A SCMClient N/A N/A 
    A wrapper around the hg Mercurial tool that fetches repository
    information and generates compatible diffs.
     N/A name Mercurial N/A PRE_CREATION /dev/null N/A PRE_CREATION_DATE Thu Jan 01 00:00:00 1970 +0000 N/A supports_diff_exclude_patterns True N/A can_branch True N/A can_bookmark True __init__ N/A N/A self N/A kwargs N/A N/A N/A N/A N/A super MercurialClient self __init__ kwargs N/A N/A self hgrc N/A N/A N/A self _type hg N/A N/A self _remote_path N/A N/A N/A self _initted False N/A N/A self _hg_env N/A HGPLAIN 1 N/A N/A self _hgext_path N/A N/A N/A os path normpath N/A N/A N/A os path join N/A N/A N/A os path dirname __file__ .. helpers hgext.py N/A N/A self _remote_path_candidates N/A reviewboard origin parent default N/A hidden_changesets_supported N/A N/A self N/A N/A N/A Return whether the repository supports hidden changesets.

        Mercurial 1.9 and above support hidden changesets. These are changesets
        that have been hidden from regular repository view. They still exist
        and are accessible, but only if the --hidden command argument is
        specified.

        Since we may encounter hidden changesets (e.g. the user specifies
        hidden changesets as part of the revision spec), we need to be aware
        of hidden changesets.
         N/A N/A N/A hasattr self _hidden_changesets_supported N/A N/A result N/A execute N/A hg parents --hidden -r 0 ignore_errors True with_errors False none_on_ignored_error True N/A N/A self _hidden_changesets_supported N/A result None N/A N/A self _hidden_changesets_supported N/A property hg_root N/A N/A self N/A N/A N/A Return the root of the working directory.

        This will return the root directory of the current repository. If the
        current working directory is not inside a mercurial repository, this
        returns None.
         N/A N/A N/A hasattr self _hg_root N/A N/A root N/A execute N/A hg root env N/A self _hg_env ignore_errors True N/A N/A N/A N/A root startswith abort: N/A N/A N/A self _hg_root N/A N/A root strip N/A N/A N/A self _hg_root None N/A N/A self _hg_root N/A property _init N/A N/A self N/A N/A N/A Initialize the client. N/A N/A N/A self _initted N/A N/A self hg_root N/A N/A N/A N/A N/A self _load_hgrc N/A svn_info N/A execute N/A hg svn info ignore_errors True N/A N/A N/A N/A N/A svn_info startswith abort: N/A N/A N/A svn_info startswith hg: unknown command N/A N/A N/A N/A N/A svn_info lower startswith not a child of N/A N/A N/A self _type svn N/A N/A self _svn_info svn_info N/A N/A N/A self _type hg N/A candidate N/A self _remote_path_candidates N/A N/A rc_key N/A paths.%s candidate N/A N/A rc_key N/A self hgrc N/A N/A N/A self _remote_path N/A candidate N/A N/A self hgrc N/A rc_key N/A N/A N/A logging debug N/A Using candidate path %r: %r N/A self _remote_path N/A N/A N/A self _initted True N/A get_repository_info N/A N/A self N/A N/A N/A Return the repository info object. N/A N/A N/A check_install N/A hg --help N/A N/A N/A N/A logging debug Unable to execute "hg --help": skipping Mercurial N/A None N/A N/A N/A self _init N/A N/A N/A self hg_root N/A N/A None N/A N/A N/A self _type svn N/A N/A N/A N/A self _calculate_hgsubversion_repository_info N/A self _svn_info N/A N/A path N/A self hg_root N/A base_path / N/A N/A self _remote_path N/A N/A path N/A N/A self _remote_path N/A 1 N/A base_path N/A N/A RepositoryInfo path path base_path base_path supports_parent_diffs True N/A parse_revision_spec N/A N/A self revisions N/A N/A N/A N/A Parse the given revision spec.

        The 'revisions' argument is a list of revisions as specified by the
        user. Items in the list do not necessarily represent a single revision,
        since the user can use SCM-native syntaxes such as "r1..r2" or "r1:r2".
        SCMTool-specific overrides of this method are expected to deal with
        such syntaxes.

        This will return a dictionary with the following keys:
            'base':        A revision to use as the base of the resulting diff.
            'tip':         A revision to use as the tip of the resulting diff.
            'parent_base': (optional) The revision to use as the base of a
                           parent diff.
            'commit_id':   (optional) The ID of the single commit being posted,
                           if not using a range.

        These will be used to generate the diffs to upload to Review Board (or
        print). The diff for review will include the changes in (base, tip],
        and the parent diff (if necessary) will include (parent, base].

        If zero revisions are passed in, this will return the outgoing changes
        from the parent of the working directory.

        If a single revision is passed in, this will return the parent of that
        revision for 'base' and the passed-in revision for 'tip'. This will
        result in generating a diff for the changeset specified.

        If two revisions are passed in, they will be used for the 'base'
        and 'tip' revisions, respectively.

        In all cases, a parent base will be calculated automatically from
        changesets not present on the remote.
         N/A N/A N/A self _init N/A n_revisions N/A len revisions N/A N/A n_revisions 1 N/A N/A revisions N/A N/A re split \.\.|:: N/A revisions N/A 0 N/A n_revisions N/A len revisions N/A result N/A N/A N/A n_revisions 0 N/A N/A N/A N/A self _type svn N/A N/A N/A result N/A base N/A N/A self _get_parent_for_hgsubversion N/A N/A result N/A tip . N/A N/A outgoing N/A N/A self _get_bottom_and_top_outgoing_revs_for_remote rev . N/A N/A N/A N/A outgoing N/A 0 None N/A N/A outgoing N/A 1 None N/A N/A N/A InvalidRevisionSpecError There are no outgoing changes N/A N/A result N/A base N/A N/A self _identify_revision N/A outgoing N/A 0 N/A N/A result N/A tip N/A N/A self _identify_revision N/A outgoing N/A 1 N/A N/A result N/A commit_id N/A result N/A tip N/A N/A N/A self has_pending_changes N/A N/A N/A N/A logging warning Your working directory is not clean. Any changes which have not been committed to a branch will not be included in your review request. N/A N/A N/A self options parent_branch N/A N/A N/A result N/A parent_base N/A result N/A base N/A N/A result N/A base N/A N/A self _identify_revision N/A N/A self options parent_branch N/A N/A N/A n_revisions 1 N/A N/A N/A result N/A tip N/A N/A self _identify_revision N/A revisions N/A 0 N/A N/A result N/A commit_id N/A result N/A tip N/A N/A result N/A base N/A N/A N/A N/A N/A self _execute N/A hg parents --hidden -r N/A result N/A tip --template {node|short} split N/A 0 N/A N/A N/A len N/A result N/A base 12 N/A N/A N/A InvalidRevisionSpecError Can't determine parent revision N/A N/A N/A n_revisions 2 N/A N/A N/A result N/A base N/A N/A self _identify_revision N/A revisions N/A 0 N/A N/A result N/A tip N/A N/A self _identify_revision N/A revisions N/A 1 N/A N/A TooManyRevisionsError N/A N/A N/A base result N/A tip result N/A N/A N/A InvalidRevisionSpecError N/A "%s" does not appear to be a valid revision spec revisions N/A N/A N/A N/A self _type hg N/A parent_base result N/A N/A outgoing N/A N/A self _get_outgoing_changesets N/A N/A self _get_remote_branch rev N/A result N/A base N/A N/A N/A logging debug %d outgoing changesets between remote and base. N/A len outgoing N/A N/A outgoing N/A N/A result N/A parent_base N/A N/A N/A N/A self _execute N/A hg parents --hidden -r N/A N/A outgoing N/A 0 N/A 1 --template {node|short} split N/A N/A N/A len parent_base 0 N/A N/A N/A Exception Could not find parent base revision. Ensure upstream repository is not empty. N/A N/A result N/A parent_base N/A parent_base N/A 0 N/A N/A N/A logging debug Identified %s as parent base N/A result N/A parent_base N/A result N/A _identify_revision N/A N/A self revision N/A N/A N/A identify N/A N/A self _execute N/A hg identify -i --hidden -r N/A str revision ignore_errors True none_on_ignored_error True N/A N/A identify None N/A N/A N/A InvalidRevisionSpecError N/A "%s" does not appear to be a valid revision revision N/A N/A N/A N/A N/A identify split N/A 0 N/A _calculate_hgsubversion_repository_info N/A N/A self svn_info N/A N/A _info N/A N/A r N/A N/A N/A m N/A N/A re search r svn_info N/A re M N/A m N/A N/A N/A urlsplit N/A N/A m group 1 N/A N/A None N/A N/A N/A self _type svn N/A root N/A _info ^Repository Root: (.+)$ N/A url N/A _info ^URL: (.+)$ N/A N/A N/A root url N/A N/A None N/A N/A scheme netloc path _ _ root N/A root N/A urlunparse N/A scheme N/A N/A N/A N/A root netloc split @ N/A -1 path N/A base_path N/A N/A url path N/A N/A len path N/A N/A RepositoryInfo path root base_path base_path supports_parent_diffs True N/A _load_hgrc N/A N/A self N/A N/A N/A line N/A execute N/A hg showconfig split_lines True N/A N/A line N/A N/A line split = 1 N/A N/A N/A len line 2 N/A N/A N/A key value line N/A N/A key N/A line N/A 0 N/A value N/A N/A N/A self hgrc N/A key N/A N/A value strip N/A get_raw_commit_message N/A N/A self revisions N/A N/A N/A Return the raw commit message.

        This extracts all descriptions in the given revision range and
        concatenates them, most recent ones going first.
         N/A rev1 N/A revisions N/A base N/A rev2 N/A revisions N/A tip N/A delim N/A str N/A N/A uuid uuid1 N/A descs N/A N/A self _execute N/A hg log --hidden -r N/A %s::%s N/A rev1 rev2 --template N/A {desc}%s delim env N/A self _hg_env results_unicode False N/A descs N/A N/A N/A descs split delim N/A 1 -1 N/A N/A N/A join N/A N/A N/A desc strip N/A desc descs N/A diff N/A N/A self revisions include_files exclude_patterns extra_args N/A N/A N/A N/A N/A N/A Return a diff across all modified files in the given revisions. N/A N/A N/A self _init N/A diff_cmd N/A hg diff --hidden N/A N/A N/A self _type svn N/A N/A N/A N/A diff_cmd append --svn N/A diff_cmd include_files N/A pattern exclude_patterns N/A N/A N/A N/A diff_cmd append -X N/A N/A N/A diff_cmd append pattern N/A diff N/A N/A self _execute N/A diff_cmd N/A -r N/A revisions N/A base -r N/A revisions N/A tip env N/A self _hg_env log_output_on_error False results_unicode False N/A supports_empty_files N/A N/A self supports_empty_files N/A supports_empty_files N/A N/A diff N/A N/A self _handle_empty_files diff N/A revisions N/A base N/A revisions N/A tip exclude_files exclude_patterns N/A N/A parent_base revisions N/A N/A base_commit_id N/A revisions N/A parent_base N/A parent_diff N/A N/A self _execute N/A diff_cmd N/A -r base_commit_id -r N/A revisions N/A base env N/A self _hg_env results_unicode False N/A supports_empty_files N/A N/A parent_diff N/A N/A self _handle_empty_files parent_diff base_commit_id N/A revisions N/A base exclude_files exclude_patterns N/A N/A base_commit_id N/A revisions N/A base N/A parent_diff None N/A base_commit_id N/A N/A self _execute N/A hg log -r base_commit_id -T {node} env N/A self _hg_env results_unicode False N/A N/A diff parent_diff commit_id base_commit_id diff parent_diff N/A N/A revisions get commit_id base_commit_id N/A _handle_empty_files N/A N/A self diff base tip exclude_files N/A N/A N/A N/A Add added and deleted 0-length files to the diff output.

        Since the diff output from hg diff does not give any information on
        0-length files, we manually add this extra information to the patch.
         N/A base_files N/A N/A self _get_files_in_changeset base N/A tip_files N/A N/A self _get_files_in_changeset tip N/A N/A base_files tip_files N/A N/A diff N/A tip_empty_files N/A N/A self _get_files_in_changeset tip get_empty True N/A added_empty_files N/A tip_empty_files base_files N/A base_empty_files N/A N/A self _get_files_in_changeset base get_empty True N/A deleted_empty_files N/A base_empty_files tip_files N/A N/A N/A added_empty_files deleted_empty_files N/A N/A diff N/A dates N/A execute N/A hg log -r base -r tip --template {date|date}\t env N/A self _hg_env N/A N/A base_date tip_date N/A N/A N/A N/A dates strip split N/A filename added_empty_files N/A N/A N/A filename exclude_files N/A N/A diff N/A N/A N/A diff -r %s -r %s %s
--- %s	%s
+++ b/%s	%s
 N/A base tip filename N/A self PRE_CREATION N/A self PRE_CREATION_DATE filename tip_date encode utf-8 N/A filename deleted_empty_files N/A N/A N/A filename exclude_files N/A N/A diff N/A N/A N/A diff -r %s -r %s %s
--- a/%s	%s
+++ %s	%s
 N/A base tip filename filename base_date N/A self PRE_CREATION N/A self PRE_CREATION_DATE encode utf-8 N/A diff N/A _get_files_in_changeset N/A N/A self rev get_empty N/A False N/A N/A Return a set of all files in the specified changeset.

        If get_empty is True, we return only 0-length files in the changeset.
         N/A cmd N/A hg locate -r rev N/A get_empty N/A N/A N/A N/A cmd append set:size(0) N/A files N/A execute cmd env N/A self _hg_env ignore_errors True none_on_ignored_error True N/A files N/A N/A files N/A N/A files replace \ / N/A N/A set N/A N/A files splitlines N/A N/A set N/A _get_parent_for_hgsubversion N/A N/A self N/A N/A N/A Return the parent Subversion branch.

        Returns the parent branch defined in the command options if it exists,
        otherwise returns the parent Subversion branch of the current
        repository.
         N/A N/A N/A getattr N/A self options tracking None N/A N/A N/A execute N/A hg parent --svn --template {node}
 strip N/A _get_remote_branch N/A N/A self N/A N/A N/A Return the remote branch assoicated with this repository.

        If the remote branch is not defined, the parent branch of the
        repository is returned.
         N/A remote N/A getattr N/A self options tracking None N/A N/A remote N/A N/A N/A N/A remote N/A N/A self _remote_path N/A 0 N/A N/A N/A IndexError N/A N/A remote None N/A N/A remote N/A N/A N/A die Could not determine remote branch to use for diff creation. Specify --tracking-branch to continue. N/A remote N/A create_commit N/A N/A self message author run_editor files all_files N/A N/A False N/A N/A Commit the given modified files.

        This is expected to be called after applying a patch. This commits the
        patch using information from the review request, opening the commit
        message in $EDITOR to allow the user to update it.
         N/A run_editor N/A N/A modified_message N/A edit_text message N/A N/A modified_message message N/A hg_command N/A hg commit -m modified_message N/A -u %s <%s> N/A N/A author fullname N/A author email N/A N/A execute N/A hg_command files N/A _get_current_branch N/A N/A self N/A N/A N/A Return the current branch of this repository. N/A N/A N/A N/A execute N/A hg branch env N/A self _hg_env strip N/A _get_bottom_and_top_outgoing_revs_for_remote N/A N/A self rev N/A None N/A N/A Return the bottom and top outgoing revisions.

        Returns the bottom and top outgoing revisions for the changesets
        between the current branch and the remote branch.
         N/A remote N/A N/A self _get_remote_branch N/A current_branch N/A N/A self _get_current_branch N/A outgoing N/A o N/A o N/A N/A self _get_outgoing_changesets remote rev rev N/A current_branch N/A o N/A 2 N/A outgoing N/A N/A N/A top_rev bottom_rev N/A N/A self _get_top_and_bottom_outgoing_revs outgoing N/A N/A top_rev None N/A bottom_rev None N/A N/A bottom_rev top_rev N/A _get_outgoing_changesets N/A N/A self remote rev N/A None N/A N/A Return the outgoing changesets between us and a remote.

        This will return a list of tuples of (rev, node, branch) for
        each outgoing changeset. The list will be sorted in revision order.

        If rev is specified, we will limit the changesets to ancestors of
        the specified revision. Otherwise, all changesets not in the remote
        will be returned.
         N/A outgoing_changesets N/A N/A args N/A hg -q outgoing --template {rev}\t{node|short}\t{branch}\n remote N/A rev N/A N/A N/A N/A args extend N/A -r rev N/A raw_outgoing N/A execute args env N/A self _hg_env extra_ignore_errors N/A 1 N/A line N/A N/A raw_outgoing splitlines N/A N/A N/A line N/A N/A N/A N/A N/A line startswith warning:  N/A N/A N/A N/A rev node branch N/A N/A N/A f strip N/A f N/A N/A line split N/A branch N/A branch default N/A N/A N/A N/A rev isdigit N/A N/A N/A Exception N/A Unexpected output from hg: %s line N/A N/A N/A logging debug N/A Found outgoing changeset %s:%s N/A rev node N/A N/A N/A outgoing_changesets append N/A N/A int rev node branch N/A outgoing_changesets N/A _get_top_and_bottom_outgoing_revs N/A N/A self outgoing_changesets N/A N/A N/A revs N/A set N/A N/A t N/A 0 N/A t outgoing_changesets N/A top_rev N/A max revs N/A bottom_rev N/A min revs N/A N/A rev node branch N/A reversed outgoing_changesets N/A N/A parents N/A execute N/A hg log -r N/A str rev --template {parents} env N/A self _hg_env N/A parents N/A N/A re split :[^\s]+\s* parents N/A parents N/A N/A int p N/A p parents N/A p N/A parents N/A p N/A p parents N/A p outgoing_changesets N/A N/A N/A len parents 0 N/A N/A bottom_rev N/A parents N/A 0 N/A N/A N/A bottom_rev N/A rev 1 N/A bottom_rev N/A max 0 bottom_rev N/A N/A top_rev bottom_rev N/A scan_for_server N/A N/A self repository_info N/A N/A N/A server_url N/A N/A N/A super MercurialClient self scan_for_server repository_info N/A N/A N/A server_url N/A N/A N/A self hgrc get reviewboard.url N/A N/A server_url N/A N/A N/A N/A N/A self hgrc get reviewboard.url strip N/A N/A N/A server_url N/A N/A self _type svn N/A N/A prop N/A N/A N/A SVNClient scan_for_server_property repository_info N/A prop N/A N/A prop N/A server_url N/A _execute N/A N/A self cmd N/A args kwargs N/A N/A N/A N/A N/A self hidden_changesets_supported N/A --hidden cmd N/A N/A cmd N/A p N/A p cmd N/A p --hidden N/A N/A N/A cmd extend N/A --config N/A extensions.rbtoolsnormalize=%s N/A self _hgext_path N/A N/A execute cmd args kwargs N/A has_pending_changes N/A N/A self N/A N/A N/A Check if there are changes waiting to be committed.

        Returns True if the working directory has been modified,
        otherwise returns False.
         N/A status N/A execute N/A hg status --modified --added --removed --deleted N/A N/A status N/A apply_patch N/A N/A self patch_file base_path base_dir p revert N/A None None None False N/A N/A Import the given patch.

        This will take the given patch file and apply it to the working
        directory.
         N/A cmd N/A hg patch --no-commit N/A p N/A N/A cmd N/A -p p N/A N/A N/A cmd append patch_file N/A N/A rc data N/A N/A self _execute cmd with_errors True return_error_code True N/A N/A PatchResult applied N/A rc 0 patch_output data N/A apply_patch_for_empty_files N/A N/A self patch p_num revert N/A False N/A N/A Return True if any empty files in the patch are applied.

        If there are no empty files in the patch or if an error occurs while
        applying the patch, we return False.
         N/A patched_empty_files False N/A added_files N/A N/A re findall N/A --- %s\t%s\n\+\+\+ b/(\S+)\t[^\r\n\t\f]+\n(?:[^@]|$) N/A N/A self PRE_CREATION N/A N/A re escape N/A self PRE_CREATION_DATE patch N/A deleted_files N/A N/A re findall N/A --- a/(\S+)\t[^\r\n\t\f]+\n\+\+\+ %s\t%s\n(?:[^@]|$) N/A N/A self PRE_CREATION N/A N/A re escape N/A self PRE_CREATION_DATE patch N/A added_files N/A N/A added_files N/A N/A self _strip_p_num_slashes added_files N/A int p_num N/A N/A make_empty_files added_files N/A result N/A execute N/A N/A hg add added_files ignore_errors True none_on_ignored_error True N/A N/A result None N/A N/A N/A N/A logging error Unable to execute "hg add" on: %s N/A N/A ,  join added_files N/A N/A patched_empty_files True N/A deleted_files N/A N/A deleted_files N/A N/A self _strip_p_num_slashes deleted_files N/A int p_num N/A result N/A execute N/A N/A hg remove deleted_files ignore_errors True none_on_ignored_error True N/A N/A result None N/A N/A N/A N/A logging error Unable to execute "hg remove" on: %s N/A N/A ,  join deleted_files N/A N/A patched_empty_files True N/A patched_empty_files N/A supports_empty_files N/A N/A self N/A N/A N/A Check if the RB server supports added/deleted empty files. N/A N/A N/A self capabilities N/A N/A N/A self capabilities has_capability scmtools mercurial empty_files N/A get_current_bookmark N/A N/A self N/A N/A N/A Return the name of the current bookmark.

        Returns:
            bytes:
            A string with the name of the current bookmark.
         N/A N/A N/A N/A execute N/A hg id -B ignore_errors True strip N/A N/A