b.builtins : module documentation

Part of bzrlib

builtin bzr commands
Function tree_files Undocumented
Function tree_files_for_add Return a tree and list of absolute paths from a file list.
Function internal_tree_files Convert command-line paths to a WorkingTree and relative paths.
Class cmd_status Undocumented
Class cmd_cat_revision Undocumented
Class cmd_dump_btree No class docstring; 1/4 methods documented
Class cmd_remove_tree Undocumented
Class cmd_repair_workingtree Undocumented
Class cmd_revno Undocumented
Class cmd_revision_info Undocumented
Class cmd_add Undocumented
Class cmd_mkdir Undocumented
Class cmd_relpath Undocumented
Class cmd_inventory Undocumented
Class cmd_mv Undocumented
Class cmd_pull Undocumented
Class cmd_push Undocumented
Class cmd_branch Undocumented
Class cmd_branches Undocumented
Class cmd_checkout Undocumented
Class cmd_renames Undocumented
Class cmd_update Undocumented
Class cmd_info Undocumented
Class cmd_remove Undocumented
Class cmd_file_id Undocumented
Class cmd_file_path Undocumented
Class cmd_reconcile Undocumented
Class cmd_revision_history Undocumented
Class cmd_ancestry Undocumented
Class cmd_init Undocumented
Class cmd_init_repository Undocumented
Class cmd_diff Undocumented
Class cmd_deleted Undocumented
Class cmd_modified Undocumented
Class cmd_added Undocumented
Class cmd_root No class docstring; 1/1 methods documented
Class cmd_log Undocumented
Function get_log_format Undocumented
Class cmd_touching_revisions Undocumented
Class cmd_ls Undocumented
Class cmd_unknowns Undocumented
Class cmd_ignore Undocumented
Class cmd_ignored Undocumented
Class cmd_lookup_revision Undocumented
Class cmd_export Undocumented
Class cmd_cat Undocumented
Class cmd_local_time_offset Undocumented
Class cmd_commit Undocumented
Class cmd_check Undocumented
Class cmd_upgrade Undocumented
Class cmd_whoami Undocumented
Class cmd_nick Undocumented
Class cmd_alias No class docstring; 2/5 methods documented
Class cmd_selftest No class docstring; 2/4 methods documented
Class cmd_version Undocumented
Class cmd_rocks Undocumented
Class cmd_find_merge_base Undocumented
Class cmd_merge No class docstring; 5/10 methods documented
Class cmd_remerge Undocumented
Class cmd_revert Undocumented
Class cmd_assert_fail Undocumented
Class cmd_help Undocumented
Class cmd_shell_complete Undocumented
Class cmd_missing Undocumented
Class cmd_pack Undocumented
Class cmd_plugins Undocumented
Class cmd_testament Undocumented
Class cmd_annotate Undocumented
Class cmd_re_sign Undocumented
Class cmd_bind Undocumented
Class cmd_unbind Undocumented
Class cmd_uncommit Undocumented
Class cmd_break_lock Undocumented
Class cmd_wait_until_signalled Undocumented
Class cmd_serve No class docstring; 1/2 methods documented
Class cmd_join Undocumented
Class cmd_split Undocumented
Class cmd_merge_directive Undocumented
Class cmd_send Undocumented
Class cmd_bundle_revisions Undocumented
Class cmd_tag Undocumented
Class cmd_tags Undocumented
Class cmd_reconfigure Undocumented
Class cmd_switch No class docstring; 1/2 methods documented
Class cmd_view Undocumented
Class cmd_hooks Undocumented
Class cmd_remove_branch Undocumented
Class cmd_shelve Undocumented
Class cmd_unshelve Undocumented
Class cmd_clean_tree Undocumented
Class cmd_reference Undocumented
Class cmd_export_pot Undocumented
Function _get_one_revision Undocumented
Function _get_one_revision_tree Get a revision tree. Not suitable for commands that change the tree.
Function _get_view_info_for_change_reporter Get the view information from a tree for change reporting.
Function _open_directory_or_containing_tree_or_branch Open the tree or branch containing the specified file, unless
Function _parse_limit Undocumented
Function _parse_levels Undocumented
Function _get_revision_range Take the input of a revision option and turn it into a revision range.
Function _revision_range_to_revid_range Undocumented
Function _register_lazy_builtins Undocumented
@symbol_versioning.deprecated_function(symbol_versioning.deprecated_in((2, 3, 0)))
def tree_files(file_list, default_branch=u'.', canonicalize=True, apply_view=True):
Undocumented
def tree_files_for_add(file_list):
Return a tree and list of absolute paths from a file list.

Similar to tree_files, but add handles files a bit differently, so it a custom implementation. In particular, MutableTreeTree.smart_add expects absolute paths, which it immediately converts to relative paths.

def _get_one_revision(command_name, revisions):
Undocumented
def _get_one_revision_tree(command_name, revisions, branch=None, tree=None):
Get a revision tree. Not suitable for commands that change the tree.

Specifically, the basis tree in dirstate trees is coupled to the dirstate and doing a commit/uncommit/pull will at best fail due to changing the basis revision data.

If tree is passed in, it should be already locked, for lifetime management of the trees internal cached state.

@symbol_versioning.deprecated_function(symbol_versioning.deprecated_in((2, 3, 0)))
def internal_tree_files(file_list, default_branch=u'.', canonicalize=True, apply_view=True):
Convert command-line paths to a WorkingTree and relative paths.

Deprecated: use WorkingTree.open_containing_paths instead.

This is typically used for command-line processors that take one or more filenames, and infer the workingtree that contains them.

The filenames given are not required to exist.

Parametersfile_listFilenames to convert.
default_branchFallback tree path to use if file_list is empty or None.
apply_viewif True and a view is set, apply it or check that specified files are within it
Returnsworkingtree, [relative_paths]
def _get_view_info_for_change_reporter(tree):
Get the view information from a tree for change reporting.
def _open_directory_or_containing_tree_or_branch(filename, directory):
Open the tree or branch containing the specified file, unless the --directory option is used to specify a different branch.
def _parse_limit(limitstring):
Undocumented
def _parse_levels(s):
Undocumented
def _get_revision_range(revisionspec_list, branch, command_name):
Take the input of a revision option and turn it into a revision range.

It returns RevisionInfo objects which can be used to obtain the rev_id's of the desired revisions. It does some user input validations.

def _revision_range_to_revid_range(revision_range):
Undocumented
def get_log_format(long=False, short=False, line=False, default='long'):
Undocumented
def _register_lazy_builtins():
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2019-07-19 00:30:15.