Module b.builtins

Part of bzrlib

builtin bzr commands
Line # Kind Name Docs
62 Function tree_files Undocumented
89 Function internal_tree_files Convert command-line paths to a WorkingTree and relative paths.
110 Function safe_relpath_files Convert file_list into a list of relpaths in tree.
136 Class cmd_status Display status summary.
220 Class cmd_cat_revision Write out metadata for a revision.
261 Class cmd_dump_btree Dump the contents of a btree index file to stdout.
335 Class cmd_remove_tree Remove the working tree from a given branch/checkout.
375 Class cmd_revno Show current revision number.
390 Class cmd_revision_info Show revision number and revision id for a given revision identifier.
422 Class cmd_add Add specified files or directories.
518 Class cmd_mkdir Create a new versioned directory.
535 Class cmd_relpath Show path of a file relative to root
550 Class cmd_inventory Show inventory of the current working copy or a revision.
616 Class cmd_mv Move or rename a file.
688 Class cmd_pull Turn this branch into a mirror of another branch.
807 Class cmd_push Update a mirror of this branch.
916 Class cmd_branch Create a new copy of a branch.
1002 Class cmd_checkout Create a new checkout of an existing branch.
1075 Class cmd_renames Show list of renamed files.
1111 Class cmd_update Update a tree to have the latest code committed to its branch.
1163 Class cmd_info Show information about a working tree, branch or repository.
1188 Class cmd_remove Remove files or directories.
1244 Class cmd_file_id Print file_id of a particular file or directory.
1266 Class cmd_file_path Print path of file_ids to a file or directory.
1288 Class cmd_reconcile Reconcile bzr metadata in a branch.
1316 Class cmd_revision_history Display the list of revision ids on a branch.
1332 Class cmd_ancestry List all revisions merged into this branch.
1357 Class cmd_init Make a directory into a versioned branch.
1451 Class cmd_init_repository Create a shared repository to hold branches.
1505 Class cmd_diff Show differences in the working tree, between revisions or branches.
1620 Class cmd_deleted List files deleted in the working tree.
1653 Class cmd_modified List files modified in working tree.
1676 Class cmd_added List files added in working tree.
1716 Class cmd_root Show the tree root directory.
1738 Class cmd_log Show log of a branch, file, or directory.
1879 Function get_log_format Undocumented
1890 Class cmd_touching_revisions Return revision-ids which affected a particular file.
1908 Class cmd_ls List files in a tree.
2004 Class cmd_unknowns List unknown files.
2017 Class cmd_ignore Ignore specified files or patterns.
2093 Class cmd_ignored List ignored files and the patterns that matched them.
2122 Class cmd_lookup_revision Lookup the revision-id from a revision-number
2141 Class cmd_export Export current or past revision to a destination directory or archive.
2198 Class cmd_cat Write the contents of a file as of a given revision to standard output.
2255 Class cmd_local_time_offset Show the offset in seconds from GMT to local time.
2264 Class cmd_commit Commit changes into a new revision.
2455 Class cmd_check Validate working tree structure, branch consistency and repository history.
2516 Class cmd_upgrade Upgrade branch storage to current format.
2542 Class cmd_whoami Show or set bzr user id.
2592 Class cmd_nick Print or set the branch nickname.
2616 Class cmd_alias Set/unset and display aliases.
2686 Class cmd_selftest Run internal test suite.
2854 Class cmd_version Show version of bzr.
2871 Class cmd_rocks Statement of optimism.
2881 Class cmd_find_merge_base Find and print a base revision for merging two branches.
2911 Class cmd_merge Perform a three-way merge.
3212 Class cmd_remerge Redo a merge.
3311 Class cmd_revert Revert files to a previous revision.
3377 Class cmd_assert_fail Test reporting of assertion failures
3387 Class cmd_help Show help on a command or other topic.
3406 Class cmd_shell_complete Show appropriate completions for context.
3421 Class cmd_missing Show unmerged/unpulled revisions between two branches.
3549 Class cmd_pack Compress the data within a repository.
3565 Class cmd_plugins List the installed plugins.
3610 Class cmd_testament Show testament (signing-form) of a revision.
3644 Class cmd_annotate Show the origin of each line in a file.
3699 Class cmd_re_sign Create a digital signature for an existing revision.
3767 Class cmd_bind Convert the current branch into a checkout of the supplied branch.
3804 Class cmd_unbind Convert the current checkout into a regular branch.
3821 Class cmd_uncommit Remove the last committed revision.
3935 Class cmd_break_lock Break a dead lock on a repository, branch or working directory.
3958 Class cmd_wait_until_signalled Test helper for test_start_and_stop_bzr_subprocess_send_signal.
3972 Class cmd_serve Run the bzr server.
4038 Class cmd_join Combine a subtree into its containing tree.
4092 Class cmd_split Split a subdirectory of a tree into a separate tree.
4119 Class cmd_merge_directive Generate a merge directive for auto-merge tools.
4218 Class cmd_send Mail or create a merge-directive for submiting changes.
4415 Class cmd_bundle_revisions Create a merge-directive for submiting changes.
4485 Class cmd_tag Create, remove or modify a tag naming a revision.
4548 Class cmd_tags List tags.
4601 Class cmd_reconfigure Reconfigure the type of a bzr directory.
4660 Class cmd_switch Set the branch of a checkout and update.
4712 Class cmd_hooks Show a branch's currently registered hooks.
4734 Class cmd_shelve Temporarily set aside some changes from the current tree.
4779 Class cmd_unshelve Restore shelved changes.
70 Function _get_one_revision_tree Undocumented
1730 Function _parse_limit Undocumented
4804 Function _create_prefix Undocumented
def tree_files(file_list, default_branch=u'.'):
Undocumented
def _get_one_revision_tree(command_name, revisions, branch=None, tree=None):
Undocumented
def internal_tree_files(file_list, default_branch=u'.'):
Convert command-line paths to a WorkingTree and relative paths.

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.
Returnsworkingtree, [relative_paths]
def safe_relpath_files(tree, file_list):
Convert file_list into a list of relpaths in tree.
ParameterstreeA tree to operate on.
file_listA list of user provided paths or None.
ReturnsA list of relative paths.
Raiseserrors.PathNotChildWhen a provided path is in a different tree than tree.
def _parse_limit(limitstring):
Undocumented
def get_log_format(long=False, short=False, line=False, default='long'):
Undocumented
def _create_prefix(cur_transport):
Undocumented
API Documentation for BzrLib, generated by pydoctor at 2008-12-03 00:00:12.