Module ImportFrom alias alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore BinOpMod Str NameLoad Assign NameStore Str Assign NameStore ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str For NameStore AttributeLoad Call AttributeLoad NameLoad attr attr body Assign NameStore Dict For NameStore NameLoad body If CompareNotEq AttributeLoad NameLoad attr NameLoad body Continue Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str NameLoad If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Num keyword Num For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str If Call NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str TryExcept body With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Assign NameStore Call NameLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Return Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str SubscriptLoad NameLoad Index Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad Str NameLoad handlers ExceptHandler type NameLoad body Pass Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad orelse Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad If UnaryOpNot Call NameLoad NameLoad body Return Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A __future__ print_function unicode_literals N/A difflib N/A os N/A six six.moves input rbtools.commands Command CommandError rbtools.utils.console confirm rbtools.utils.filesystem CONFIG_FILE SetupRepo N/A Command N/A N/A Configure a repository to point to a Review Board server.

    Interactively creates the configuration file .reviewboardrc in the current
    working directory.

    The user is prompted for the Review Board server url if it's not supplied
    as an option. Upon a successful server connection, an attempt is made to
    match the local repository to a repository on the Review Board server.
    If no match is found or if the user declines the match, the user is
    prompted to choose from other repositories on the Review Board server.

    If the client supports it, it attempts to guess the branch name on the
    server.
     N/A name setup-repo N/A author The Review Board Project N/A description N/A Configure a repository to point to a Review Board server by generating the configuration file %s CONFIG_FILE N/A args N/A option_list N/A N/A Command server_options N/A Command perforce_options N/A Command tfs_options prompt_rb_repository N/A N/A self tool_name repository_info api_root N/A N/A N/A Interactively prompt to select a matching repository.

        The user is prompted to choose a matching repository found on the
        Review Board server.
         N/A repository_page N/A N/A N/A api_root get_repositories all_pages N/A N/A repo_paths N/A N/A repository repository_page N/A N/A N/A N/A repository tool tool_name N/A N/A N/A N/A repo_paths N/A N/A repository N/A path repository N/A N/A mirror_path repository N/A N/A N/A repo_paths N/A N/A repository N/A mirror_path repository N/A closest_path N/A N/A difflib get_close_matches N/A repository_info path N/A N/A six iterkeys repo_paths n 4 cutoff 0.4 N/A path closest_path N/A N/A repo N/A repo_paths N/A path N/A question N/A Use the %s repository "%s" (%s)? N/A tool_name N/A repo N/A name N/A repo N/A path N/A N/A confirm question N/A N/A repo N/A None N/A _get_output N/A N/A self config N/A N/A N/A Returns a string output based on the the provided config. N/A settings N/A N/A N/A setting value config N/A N/A N/A N/A settings append N/A %s = "%s" N/A setting value N/A N/A N/A settings append N/A N/A N/A join settings N/A generate_config_file N/A N/A self file_path config N/A N/A N/A Generates the config file in the current working directory. N/A N/A N/A N/A open file_path w outfile N/A N/A output N/A N/A self _get_output config N/A N/A N/A outfile write output N/A N/A N/A IOError N/A e N/A N/A N/A CommandError N/A I/O error generating config file (%s): %s N/A N/A e errno N/A e strerror N/A N/A print N/A Config written to %s file_path N/A main N/A N/A self N/A args N/A N/A server N/A N/A self options server N/A N/A server N/A N/A server N/A input Enter the Review Board server URL:  N/A N/A repository_info tool N/A N/A self initialize_scm_tool N/A N/A api_client api_root N/A N/A self get_api server N/A N/A N/A self setup_tool tool api_root api_root N/A repository_info N/A N/A repository_info find_server_repository_info api_root N/A selected_repo N/A N/A self prompt_rb_repository N/A tool name repository_info api_root N/A N/A selected_repo N/A N/A N/A print N/A No %s repository found or selected for %s. %s not created. N/A N/A tool name server CONFIG_FILE N/A N/A config N/A N/A REVIEWBOARD_URL server N/A REPOSITORY N/A selected_repo N/A name N/A N/A N/A branch N/A N/A tool get_current_branch N/A N/A N/A config append N/A BRANCH branch N/A N/A N/A config append N/A LAND_DEST_BRANCH branch N/A N/A N/A NotImplementedError N/A N/A N/A outfile_path N/A N/A N/A os path join N/A N/A os getcwd CONFIG_FILE N/A output N/A N/A self _get_output config N/A N/A N/A N/A N/A os path exists outfile_path N/A N/A question N/A Create "%s" with the following?

%s
 N/A outfile_path output N/A N/A question N/A "%s" exists. Overwrite with the following?

%s
 N/A outfile_path output N/A N/A N/A confirm question N/A N/A N/A N/A N/A self generate_config_file outfile_path config N/A N/A