Module ImportFrom alias alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults Num body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr BinOpMod Str NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr body AugAssignAdd NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Return SubscriptLoad NameLoad Slice Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Dict ListLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index NameLoad If CompareIn Str NameLoad body AugAssignAdd SubscriptStore NameLoad Index Str BinOpMod Str SubscriptLoad NameLoad Index Str For NameStore TupleLoad Str Str Str Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad ListLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Dict ListLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Assign NameStore ListLoad Call NameLoad Str Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad keyword Str keyword Str keyword ListLoad Call NameLoad Str keyword Str keyword Str keyword Str keyword Str keyword Str Call NameLoad Str keyword Str keyword Str keyword Str Call NameLoad Str keyword Str keyword Str keyword Str Call NameLoad Str keyword Str keyword Str keyword Str Assign NameStore Call NameLoad keyword Str keyword Str keyword ListLoad Call NameLoad Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str Call NameLoad Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str Call NameLoad Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str Call NameLoad Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str Call NameLoad Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str keyword Str Assign NameStore Call NameLoad keyword Str keyword ListLoad Call NameLoad Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str Call NameLoad Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str keyword Dict Str Str Call NameLoad Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str Assign NameStore Call NameLoad keyword Str keyword Str keyword ListLoad Call NameLoad Str keyword Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad Str Str keyword Str keyword Str keyword Str keyword Str keyword Str Call NameLoad Str Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str Call NameLoad Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str Call NameLoad Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad Str keyword Str keyword Str keyword Str keyword NameLoad keyword Str Assign NameStore Call NameLoad keyword Str keyword Str keyword ListLoad Call NameLoad Str keyword Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad Str keyword Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad Str keyword Str keyword Str keyword NameLoad keyword Str keyword Str Assign NameStore Call NameLoad keyword Str keyword Str keyword ListLoad Call NameLoad Str keyword Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad Str keyword Str keyword NameLoad keyword Str keyword Str keyword Str Call NameLoad Str keyword Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad Str keyword Str keyword NameLoad keyword Str keyword Str keyword Str Assign NameStore Call NameLoad keyword Str keyword Str keyword ListLoad Call NameLoad Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad Str keyword Str keyword NameLoad keyword Str keyword Str keyword Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults ListLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad AttributeLoad NameLoad attr attr body TryExcept body Import alias Expr Call AttributeLoad NameLoad attr handlers ExceptHandler body Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Return BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr orelse Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If BoolOpOr CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str BoolOpAnd CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Call NameLoad Str keyword NameLoad keyword NameLoad keyword Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr keyword Dict Str Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr keyword Str orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpSub Call NameLoad SubscriptLoad NameLoad Index Num Num Assign NameStore NameLoad If CompareIsNot SubscriptLoad NameLoad Index Num NameLoad body AugAssignSub NameStore Call NameLoad SubscriptLoad NameLoad Index Num If CompareIsNot SubscriptLoad NameLoad Index Num NameLoad body Assign NameStore NameLoad If BoolOpOr CompareLt Call NameLoad NameLoad NameLoad BoolOpAnd CompareIsNot NameLoad NameLoad CompareGt Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr TryExcept body Assign NameStore BoolOpOr Call AttributeLoad NameLoad attr NameLoad Num handlers ExceptHandler type NameLoad name NameStore body If Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse If AttributeLoad AttributeLoad NameLoad attr attr body Raise Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num ExceptHandler type NameLoad name NameStore body Assign NameStore AttributeLoad NameLoad attr ExceptHandler type NameLoad name NameStore body If AttributeLoad AttributeLoad NameLoad attr attr body Raise Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad vararg kwarg body Expr Str If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body If CompareEq Call NameLoad AttributeLoad NameLoad attr Str NameLoad Str body Expr Call NameLoad Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Str If CompareEq AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Str Raise Call NameLoad Str Expr Call NameLoad Expr Call NameLoad BinOpMod Str SubscriptLoad Call NameLoad NameLoad Index Num If CompareIs NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg kwarg body Expr Str If CompareEq Call NameLoad AttributeLoad NameLoad attr Str NameLoad Str body Expr Call NameLoad Str Expr Call NameLoad Expr Call NameLoad Str If CompareEq NameLoad Str body Expr Call NameLoad Str Expr Call NameLoad Str orelse If CompareEq NameLoad Str body Expr Call NameLoad Str Expr Call NameLoad Str orelse If CompareEq NameLoad Str body Expr Call NameLoad Str Expr Call NameLoad Return Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr keyword UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr keyword UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot AttributeLoad Call NameLoad NameLoad attr body Assign NameStore BinOpMod Str TupleLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpMod Str NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn Str NameLoad body Return Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareIn Str NameLoad body Return Call NameLoad AttributeLoad NameLoad attr orelse Return Call NameLoad Dict decorator_list FunctionDef arguments args NameParam defaults vararg body Expr Str Raise Call NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad If UnaryOpNot NameLoad body TryExcept body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpOr Call NameLoad NameLoad Call NameLoad BinOpMod Str NameLoad decorator_list
N/A __future__ print_function unicode_literals N/A argparse N/A getpass N/A inspect N/A logging N/A pkg_resources N/A platform N/A os N/A sys colorlog ColoredFormatter six.moves input six.moves.urllib.parse urlparse rbtools get_version_string rbtools.api.capabilities Capabilities rbtools.api.client RBClient rbtools.api.errors APIError ServerInterfaceError rbtools.clients scan_usable_client rbtools.clients.errors OptionsCheckError rbtools.utils.filesystem cleanup_tempfiles get_home_path is_exe_in_path load_config rbtools.utils.process die N/A RB_MAIN rbt CommandExit N/A Exception N/A __init__ N/A N/A self exit_code N/A 0 N/A N/A N/A N/A N/A super CommandExit self __init__ N/A Exit with code %s exit_code N/A N/A self exit_code exit_code N/A N/A CommandError N/A Exception N/A N/A N/A ParseError N/A CommandError N/A N/A N/A SmartHelpFormatter N/A N/A argparse HelpFormatter N/A N/A Smartly formats help text, preserving paragraphs. _split_lines N/A N/A self text width N/A N/A N/A lines N/A N/A line N/A N/A text splitlines N/A N/A lines N/A N/A N/A super SmartHelpFormatter self _split_lines line width N/A N/A N/A lines append N/A N/A lines N/A -1 N/A N/A Option N/A object N/A N/A Represents an option for a command.

    The arguments to the constructor should be treated like those
    to argparse's add_argument, with the exception that the keyword
    argument 'config_key' is also valid. If config_key is provided
    it will be used to retrieve the config value as a default if the
    option is not specified. This will take precedence over the
    default argument.

    Serves as a wrapper around the ArgumentParser options, allowing us
    to specify defaults which will be grabbed from the configuration
    after it is loaded.
     __init__ N/A N/A self N/A opts attrs N/A N/A N/A self opts opts N/A N/A self attrs attrs N/A add_to N/A N/A self parent config argv N/A N/A N/A N/A N/A Adds the option to the parent parser or group.

        If the option maps to a configuration key, this will handle figuring
        out the correct default.

        Once we've determined the right set of flags, the option will be
        added to the parser.
         N/A attrs N/A N/A N/A self attrs copy N/A N/A config_key attrs N/A N/A config_key N/A N/A attrs pop config_key N/A N/A config_key config N/A N/A N/A attrs N/A default N/A config N/A config_key N/A N/A deprecated_in attrs N/A N/A N/A attrs N/A help N/A 
[Deprecated since %s] N/A attrs N/A deprecated_in N/A attr N/A added_in deprecated_in extended_help versions_changed N/A N/A N/A N/A attrs pop attr None N/A N/A N/A parent add_argument N/A self opts attrs N/A N/A OptionGroup N/A object N/A N/A Represents a named group of options.

    Each group has a name, an optional description, and a list of options.
    It serves as a way to organize related options, making it easier for
    users to scan for the options they want.

    This works like argparse's argument groups, but is designed to work with
    our special Option class.
     __init__ N/A N/A self name description option_list N/A None None N/A N/A N/A N/A self name name N/A N/A self description description N/A N/A self option_list option_list N/A add_to N/A N/A self parser config argv N/A N/A N/A N/A N/A Adds the group and all its contained options to the parser. N/A group N/A N/A parser add_argument_group N/A self name N/A self description N/A option N/A self option_list N/A N/A N/A N/A option add_to group config argv N/A N/A LogLevelFilter N/A N/A logging Filter N/A N/A Filters log messages of a given level.

    Only log messages that have the specified level will be allowed by
    this filter. This prevents propagation of higher level types to lower
    log handlers.
     __init__ N/A N/A self level N/A N/A N/A N/A self level level N/A filter N/A N/A self record N/A N/A N/A N/A N/A record levelno N/A self level N/A N/A Command N/A object N/A N/A Base class for rb commands.

    This class will handle retrieving the configuration, and parsing
    command line options.

    ``description`` is a string containing a short description of the
    command which is suitable for display in usage text.

    ``usage`` is a list of usage strings each showing a use case. These
    should not include the main rbt command or the command name; they
    will be added automatically.

    ``args`` is a string containing the usage text for what arguments the
    command takes.

    ``option_list`` is a list of command line options for the command.
    Each list entry should be an Option or OptionGroup instance.
     N/A name N/A author N/A description N/A args N/A option_list N/A N/A _global_options N/A N/A Option -d --debug action store_true dest debug config_key DEBUG default False help Displays debug output. extended_help This information can be valuable when debugging problems running the command. N/A OptionGroup name RBTools Warning and Error Color Options description Default color settings for warnings and errors option_list N/A N/A Option --color dest color config_key COLOR default auto help Enables color output. extended_help Enables color output on terminal. N/A Option --log-warn-color dest warn_color config_key LOG_WARNING_COLOR default yellow N/A Option --log-error-color dest error_color config_key LOG_ERROR_COLOR default red N/A Option --log-critical-color dest critical_color config_key LOG_CRITICAL_COLOR default bold_red N/A server_options N/A OptionGroup name Review Board Server Options description Options necessary to communicate and authenticate with a Review Board server. option_list N/A N/A Option --server dest server metavar URL config_key REVIEWBOARD_URL default None help Specifies the Review Board server to use. N/A Option --username dest username metavar USERNAME config_key USERNAME default None help The user name to be supplied to the Review Board server. N/A Option --password dest password metavar PASSWORD config_key PASSWORD default None help The password to be supplied to the Review Board server. N/A Option --ext-auth-cookies dest ext_auth_cookies metavar EXT_AUTH_COOKIES config_key EXT_AUTH_COOKIES default None help Use an external cookie store with pre-fetched authentication data. This is useful with servers that require extra web authentication to access Review Board, e.g. on single sign-on enabled sites. added_in 0.7.5 N/A Option --api-token dest api_token metavar TOKEN config_key API_TOKEN default None help The API token to use for authentication, instead of using a username and password. added_in 0.7 N/A Option --disable-proxy action store_false dest enable_proxy config_key ENABLE_PROXY default True help Prevents requests from going through a proxy server. N/A Option --disable-ssl-verification action store_true dest disable_ssl_verification config_key DISABLE_SSL_VERIFICATION default False help Disable SSL certificate verification. This is useful with servers that have self-signed certificates. added_in 0.7.3 N/A Option --disable-cookie-storage config_key SAVE_COOKIES dest save_cookies action store_false default True help Use an in-memory cookie store instead of writing them to a file. No credentials will be saved or loaded. added_in 0.7.3 N/A Option --disable-cache dest disable_cache config_key DISABLE_CACHE action store_true default False help Disable the HTTP cache completely. This will result in slower requests. added_in 0.7.3 N/A Option --disable-cache-storage dest in_memory_cache config_key IN_MEMORY_CACHE action store_true default False help Disable storing the API cache on the filesystem, instead keeping it in memory temporarily. added_in 0.7.3 N/A Option --cache-location dest cache_location metavar FILE config_key CACHE_LOCATION default None help The file to use for the API cache database. added_in 0.7.3 N/A repository_options N/A OptionGroup name Repository Options option_list N/A N/A Option --repository dest repository_name metavar NAME config_key REPOSITORY default None help The name of the repository configured on Review Board that matches the local repository. N/A Option --repository-url dest repository_url metavar URL config_key REPOSITORY_URL default None help The URL for a repository.
When generating diffs, this can be used for creating a diff outside of a working copy (currently only supported by Subversion with specific revisions or --diff-filename, and by ClearCase with relative paths outside the view).
For Git, this specifies the origin URL of the current repository, overriding the origin URL supplied by the client. versions_changed N/A 0.6 Prior versions used the `REPOSITORY` setting in .reviewboardrc, and allowed a repository name to be passed to --repository-url. This is no longer supported in 0.6 and higher. You may need to update your configuration and scripts appropriately. N/A Option --repository-type dest repository_type metavar TYPE config_key REPOSITORY_TYPE default None help The type of repository in the current directory. In most cases this should be detected automatically, but some directory structures containing multiple repositories require this option to select the proper type. The `rbt list-repo-types` command can be used to list the supported values. N/A diff_options N/A OptionGroup name Diff Generation Options description Options for choosing what gets included in a diff, and how the diff is generated. option_list N/A N/A Option --revision-range dest revision_range metavar REV1:REV2 default None help Generates a diff for the given revision range. deprecated_in 0.6 N/A Option -I --include metavar FILENAME dest include_files action append help Includes only the specified file in the diff. This can be used multiple times to specify multiple files.
Supported by: Bazaar, CVS, Git, Mercurial, Perforce, and Subversion. added_in 0.6 N/A Option -X --exclude metavar PATTERN dest exclude_patterns action append config_key EXCLUDE_PATTERNS help Excludes all files that match the given pattern from the diff. This can be used multiple times to specify multiple patterns. UNIX glob syntax is used for pattern matching.
Supported by: Bazaar, CVS, Git, Mercurial, Perforce, and Subversion. extended_help Patterns that begin with a path separator (/ on Mac OS and Linux, \ on Windows) will be treated as being relative to the root of the repository. All other patterns are treated as being relative to the current working directory.
For example, to exclude all ".txt" files from the resulting diff, you would use "-X /'*.txt'".
When working with Mercurial, the patterns are provided directly to "hg" and are not limited to globs. For more information on advanced pattern syntax in Mercurial, run "hg help patterns"
When working with CVS all diffs are generated relative to the current working directory so patterns beginning with a path separator are treated as relative to the current working directory.
When working with Perforce, an exclude pattern beginning with `//` will be matched against depot paths; all other patterns will be matched against local paths. added_in 0.7 N/A Option --parent dest parent_branch metavar BRANCH config_key PARENT_BRANCH default None help The parent branch this diff should be generated against (Bazaar/Git/Mercurial only). N/A Option --diff-filename dest diff_filename default None metavar FILENAME help Uploads an existing diff file, instead of generating a new diff. N/A Option --tracking-branch dest tracking metavar BRANCH config_key TRACKING_BRANCH default None help The remote tracking branch from which your local branch is derived (Git/Mercurial only).
For Git, the default is `origin/master`.
For Mercurial, the default is one of: `reviewboard`, `origin`, `parent`, or `default`. N/A perforce_options N/A OptionGroup name Perforce Options description Perforce-specific options for selecting the Perforce client and communicating with the repository. option_list N/A N/A Option --p4-client dest p4_client config_key P4_CLIENT default None metavar CLIENT_NAME help The Perforce client name for the repository. N/A Option --p4-port dest p4_port config_key P4_PORT default None metavar PORT help The IP address for the Perforce server. N/A Option --p4-passwd dest p4_passwd config_key P4_PASSWD default None metavar PASSWORD help The Perforce password or ticket of the user in the P4USER environment variable. N/A subversion_options N/A OptionGroup name Subversion Options description Subversion-specific options for controlling diff generation. option_list N/A N/A Option --basedir dest basedir config_key BASEDIR default None metavar PATH help The path within the repository where the diff was generated. This overrides the detected path. Often used when passing --diff-filename. N/A Option --svn-username dest svn_username default None metavar USERNAME help The username for the SVN repository. N/A Option --svn-password dest svn_password default None metavar PASSWORD help The password for the SVN repository. N/A Option --svn-prompt-password dest svn_prompt_password default False action store_true help Prompt for the user's svn password. This option overrides the password provided by the --svn-password option. added_in 0.7.3 N/A Option --svn-show-copies-as-adds dest svn_show_copies_as_adds metavar y|n default None help Treat copied or moved files as new files.
This is only supported in Subversion 1.7+. added_in 0.5.2 N/A Option --svn-changelist dest svn_changelist default None metavar ID help Generates the diff for review based on a local changelist. deprecated_in 0.6 N/A tfs_options N/A OptionGroup name TFS Options description Team Foundation Server specific options for communicating with the TFS server. option_list N/A N/A Option --tfs-login dest tfs_login default None metavar TFS_LOGIN help Logs in to TFS as a specific user (ie.user@domain,password). Visit https://msdn.microsoft.com/en-us/library/hh190725.aspx to learn about saving credentials for reuse. N/A Option --tf-cmd dest tf_cmd default None metavar TF_CMD config_key TF_CMD help The full path of where to find the tf command. This overrides any detected path. __init__ N/A N/A self N/A N/A N/A N/A self log N/A N/A logging getLogger N/A rb.%s N/A self name N/A create_parser N/A N/A self config argv N/A N/A N/A N/A Create and return the argument parser for this command. N/A parser N/A N/A argparse ArgumentParser prog RB_MAIN usage N/A N/A self usage add_help False formatter_class SmartHelpFormatter N/A option N/A self option_list N/A N/A N/A N/A option add_to parser config argv N/A option N/A self _global_options N/A N/A N/A N/A option add_to parser config argv N/A parser N/A post_process_options N/A N/A self N/A N/A N/A N/A N/A self options disable_ssl_verification N/A N/A N/A N/A ssl N/A N/A N/A ssl _create_unverified_context N/A N/A N/A N/A N/A CommandError The --disable-ssl-verification flag is only available with Python 2.7.9+ N/A usage N/A N/A self N/A N/A N/A Return a usage string for the command. N/A usage N/A %%(prog)s %s [options] %s N/A N/A self name N/A self args N/A N/A self description N/A N/A N/A %s

%s N/A usage N/A self description N/A N/A usage N/A init_logging N/A N/A self N/A N/A N/A Initializes logging for the command.

        This will set up different log handlers based on the formatting we want
        for the given levels.

        The INFO log handler will just show the text, like a print statement.

        WARNING and higher will show the level name as a prefix, in the form of
        "LEVEL: message".

        If debugging is enabled, a debug log handler will be set up showing
        debug messages in the form of ">>> message", making it easier to
        distinguish between debugging and other messages.
         N/A root N/A N/A logging getLogger N/A N/A N/A self options debug N/A N/A handler N/A N/A logging StreamHandler N/A N/A N/A handler setFormatter N/A N/A logging Formatter >>> %(message)s N/A N/A N/A handler setLevel N/A logging DEBUG N/A N/A N/A handler addFilter N/A LogLevelFilter N/A logging DEBUG N/A N/A N/A root addHandler handler N/A N/A N/A root setLevel N/A logging DEBUG N/A N/A N/A N/A root setLevel N/A logging INFO N/A handler N/A N/A logging StreamHandler N/A N/A N/A handler setFormatter N/A N/A logging Formatter %(message)s N/A N/A N/A handler setLevel N/A logging INFO N/A N/A N/A handler addFilter N/A LogLevelFilter N/A logging INFO N/A N/A N/A root addHandler handler N/A handler N/A N/A logging StreamHandler N/A N/A N/A N/A N/A self options color always N/A N/A N/A N/A self options color auto N/A N/A N/A sys stderr isatty N/A N/A N/A N/A handler setFormatter N/A ColoredFormatter %(log_color)s%(levelname)-8s%(reset)s%(message_log_color)s%(message)s datefmt None reset True log_colors N/A WARNING ERROR CRITICAL N/A N/A self options warn_color N/A N/A self options error_color N/A N/A self options critical_color secondary_log_colors N/A message N/A WARNING ERROR CRITICAL N/A N/A self options warn_color N/A N/A self options error_color N/A N/A self options critical_color style % N/A N/A N/A N/A handler setFormatter N/A N/A logging Formatter %(levelname)s: %(message)s N/A N/A N/A handler setLevel N/A logging WARNING N/A N/A N/A root addHandler handler N/A N/A N/A logging debug RBTools %s N/A get_version_string N/A N/A N/A logging debug Python %s N/A sys version N/A N/A N/A logging debug Running on %s N/A N/A platform platform N/A N/A N/A logging debug Home = %s N/A get_home_path N/A N/A N/A logging debug Current directory = %s N/A N/A os getcwd N/A run_from_argv N/A N/A self argv N/A N/A N/A Execute the command using the provided arguments.

        The options and commandline arguments will be parsed
        from ``argv`` and the commands ``main`` method will
        be called.
         N/A N/A self config N/A load_config N/A parser N/A N/A self create_parser N/A self config argv N/A N/A N/A parser add_argument args nargs N/A argparse REMAINDER N/A N/A self options N/A N/A parser parse_args N/A argv N/A 2 N/A args N/A N/A self options args N/A argspec N/A N/A inspect getargspec N/A self main N/A minargs N/A N/A len N/A argspec N/A 0 1 N/A maxargs minargs N/A N/A N/A argspec N/A 3 None N/A N/A minargs N/A len N/A argspec N/A 3 N/A N/A N/A argspec N/A 1 None N/A N/A maxargs None N/A N/A N/A N/A len args minargs N/A N/A maxargs None N/A N/A len args maxargs N/A N/A N/A N/A parser error Invalid number of arguments provided N/A N/A N/A sys exit 1 N/A N/A N/A self init_logging N/A N/A N/A exit_code N/A N/A N/A self main args 0 N/A N/A N/A CommandError N/A e N/A N/A N/A isinstance e ParseError N/A N/A N/A N/A parser error e N/A N/A N/A N/A self options debug N/A N/A N/A N/A N/A logging error e N/A exit_code 1 N/A N/A CommandExit N/A e N/A N/A exit_code N/A e exit_code N/A N/A Exception N/A e N/A N/A N/A N/A self options debug N/A N/A N/A N/A N/A logging critical e N/A exit_code 1 N/A N/A cleanup_tempfiles N/A N/A N/A sys exit exit_code N/A initialize_scm_tool N/A N/A self client_name N/A None N/A N/A Initialize the SCM tool for the current working directory. N/A N/A repository_info tool N/A scan_usable_client N/A self config N/A self options client_name client_name N/A N/A N/A N/A N/A tool check_options N/A N/A N/A OptionsCheckError N/A e N/A N/A N/A N/A N/A sys stderr write N/A %s
 e N/A N/A N/A sys exit 1 N/A N/A repository_info tool N/A setup_tool N/A N/A self tool api_root N/A None N/A N/A Performs extra initialization on the tool.

        If api_root is not provided we'll assume we want to
        initialize the tool using only local information
         N/A N/A tool capabilities N/A N/A self get_capabilities api_root N/A get_server_url N/A N/A self repository_info tool N/A N/A N/A Returns the Review Board server url. N/A N/A N/A self options server N/A N/A server_url N/A N/A self options server N/A N/A server_url N/A N/A tool scan_for_server repository_info N/A N/A server_url N/A N/A N/A print Unable to find a Review Board server for this source code tree. N/A N/A N/A sys exit 1 N/A server_url N/A credentials_prompt N/A N/A self realm uri username password N/A None None args kwargs N/A N/A Prompt the user for credentials using the command line.

        This will prompt the user, and then return the provided
        username and password. This is used as a callback in the
        API when the user requires authorization.
         N/A N/A N/A username None N/A password None N/A N/A N/A N/A getattr N/A self options diff_filename None - N/A N/A N/A die HTTP authentication is required, but cannot be used with --diff-filename=- N/A N/A N/A N/A N/A sys stdin isatty N/A N/A N/A N/A logging error Authentication is required but input is not a tty. N/A N/A N/A sys platform win32 N/A N/A N/A N/A logging info Check that you are not running this script from a Cygwin terminal emulator (or use Cygwin Python to run it). N/A N/A CommandError Unable to log in to Review Board. N/A N/A print N/A N/A print N/A Please log in to the Review Board server at %s. N/A N/A urlparse uri N/A 1 N/A N/A username None N/A N/A N/A N/A N/A sys stderr write Username:  N/A username N/A input N/A N/A password None N/A N/A password N/A N/A getpass getpass Password:  N/A N/A username password N/A otp_token_prompt N/A N/A self uri token_method N/A args kwargs N/A N/A Prompt the user for a one-time password token.

        Their account is configured with two-factor authentication. The
        server will have sent a token to their configured mobile device
        or application. The user will be prompted for this token.
         N/A N/A N/A getattr N/A self options diff_filename None - N/A N/A N/A die A two-factor authentication token is required, but cannot be used with --diff-filename=- N/A N/A print N/A N/A print Please enter your two-factor authentication token for Review Board. N/A N/A token_method sms N/A N/A N/A print You should be getting a text message with an authentication token. N/A N/A print Enter the token below. N/A N/A N/A token_method call N/A N/A N/A print You should be getting an automated phone call with an authentication token. N/A N/A print Enter the token below. N/A N/A N/A token_method generator N/A N/A N/A print Enter the token shown on your token generator app below. N/A N/A print N/A N/A N/A getpass getpass Token:  N/A _make_api_client N/A N/A self server_url N/A N/A N/A Return an RBClient object for the server.

        The RBClient will be instantiated with the proper arguments
        for talking to the provided Review Board server url.
         N/A N/A RBClient server_url username N/A N/A self options username password N/A N/A self options password api_token N/A N/A self options api_token auth_callback N/A self credentials_prompt otp_token_callback N/A self otp_token_prompt disable_proxy N/A N/A N/A self options enable_proxy verify_ssl N/A N/A N/A self options disable_ssl_verification allow_caching N/A N/A N/A self options disable_cache cache_location N/A N/A self options cache_location in_memory_cache N/A N/A self options in_memory_cache save_cookies N/A N/A self options save_cookies ext_auth_cookies N/A N/A self options ext_auth_cookies N/A get_api N/A N/A self server_url N/A N/A N/A Returns an RBClient instance and the associated root resource.

        Commands should use this method to gain access to the API,
        instead of instantianting their own client.
         N/A N/A N/A N/A urlparse server_url scheme N/A N/A server_url N/A %s%s N/A http:// server_url N/A api_client N/A N/A self _make_api_client server_url N/A N/A N/A api_root N/A N/A api_client get_root N/A N/A N/A ServerInterfaceError N/A e N/A N/A N/A CommandError N/A Could not reach the Review Board server at %s: %s N/A server_url e N/A N/A APIError N/A e N/A N/A N/A CommandError N/A Unexpected API Error: %s e N/A N/A api_client api_root N/A get_capabilities N/A N/A self api_root N/A N/A N/A Retrieve Capabilities from the server and return them. N/A N/A capabilities api_root N/A N/A N/A Capabilities N/A api_root capabilities N/A info N/A N/A api_root get_info N/A N/A capabilities info N/A N/A N/A Capabilities N/A info capabilities N/A N/A N/A Capabilities N/A N/A main N/A N/A self N/A args N/A N/A The main logic of the command.

        This method should be overridden to implement the commands
        functionality.
         N/A N/A NotImplementedError N/A N/A find_entry_point_for_command N/A N/A command_name N/A N/A N/A Return an entry point for the given rbtools command.

    If no entry point is found, None is returned.
     N/A entry_point N/A N/A pkg_resources get_entry_info rbtools rbtools_commands command_name N/A N/A entry_point N/A N/A N/A N/A entry_point N/A next N/A N/A pkg_resources iter_entry_points rbtools_commands command_name N/A N/A N/A StopIteration N/A N/A N/A entry_point N/A command_exists N/A N/A cmd_name N/A N/A N/A Determine if the given command exists.

    This function checks for the existence of an RBTools command entry point
    with the given name and an executable named rbt-"cmd_name" on the path.
    Aliases are not considered.
     N/A N/A N/A find_entry_point_for_command cmd_name N/A is_exe_in_path N/A rbt-%s cmd_name N/A