bzr (1) - Linux Manuals
bzr: Bazaar next-generation distributed version control
NAME
bzr - Bazaar next-generation distributed version controlSYNOPSIS
bzr command [ command_options ]bzr help
bzr help command
DESCRIPTION
Bazaar (or bzr) is a distributed version control system that is powerful, friendly, and scalable. Bazaar is a project of Canonical Ltd and part of the GNU Project to develop a free operating system.
Bazaar keeps track of changes to software source code (or similar information); lets you explore who changed it, when, and why; merges concurrent changes; and helps people work together in a team.
COMMAND OVERVIEW
- bzr add [FILE...]
- Add specified files or directories.
- bzr alias [NAME]
- Set/unset and display aliases.
- bzr annotate FILENAME
- Show the origin of each line in a file.
- bzr bind [LOCATION]
- Convert the current branch into a checkout of the supplied branch.
- bzr branch FROM_LOCATION [TO_LOCATION]
- Create a new branch that is a copy of an existing branch.
- bzr branches [LOCATION]
- List the branches available at the current location.
- bzr break-lock [LOCATION]
- Break a dead lock.
- bzr cat FILENAME
- Write the contents of a file as of a given revision to standard output.
- bzr check [PATH]
- Validate working tree structure, branch consistency and repository history.
- bzr checkout [BRANCH_LOCATION] [TO_LOCATION]
- Create a new checkout of an existing branch.
- bzr clean-tree
- Remove unwanted files from working tree.
- bzr commit [SELECTED...]
- Commit changes into a new revision.
- bzr config [NAME]
- Display, set or remove a configuration option.
- bzr conflicts
- List files with conflicts.
- bzr deleted
- List files deleted in the working tree.
- bzr diff [FILE...]
- Show differences in the working tree, between revisions or branches.
- bzr dpush [LOCATION]
- Push into a different VCS without any custom bzr metadata.
- bzr export DEST [BRANCH_OR_SUBDIR]
- Export current or past revision to a destination directory or archive.
- bzr help [TOPIC]
- Show help on a command or other topic.
- bzr ignore [NAME_PATTERN...]
- Ignore specified files or patterns.
- bzr ignored
- List ignored files and the patterns that matched them.
- bzr info [LOCATION]
- Show information about a working tree, branch or repository.
- bzr init [LOCATION]
- Make a directory into a versioned branch.
- bzr init-repository LOCATION
- Create a shared repository for branches to share storage space.
- bzr join TREE
- Combine a tree into its containing tree.
- bzr log [FILE...]
- Show historical log for a branch or subset of a branch.
- bzr ls [PATH]
- List files in a tree.
- bzr merge [LOCATION]
- Perform a three-way merge.
- bzr missing [OTHER_BRANCH]
- Show unmerged/unpulled revisions between two branches.
- bzr mkdir DIR...
- Create a new versioned directory.
- bzr mv [NAMES...]
- Move or rename a file.
- bzr nick [NICKNAME]
- Print or set the branch nickname.
- bzr pack [BRANCH_OR_REPO]
- Compress the data within a repository.
- bzr plugins
- List the installed plugins.
- bzr pull [LOCATION]
- Turn this branch into a mirror of another branch.
- bzr push [LOCATION]
- Update a mirror of this branch.
- bzr reconcile [BRANCH]
- Reconcile bzr metadata in a branch.
- bzr reconfigure [LOCATION]
- Reconfigure the type of a bzr directory.
- bzr remerge [FILE...]
- Redo a merge.
- bzr remove [FILE...]
- Remove files or directories.
- bzr remove-branch [LOCATION]
- Remove a branch.
- bzr remove-tree [LOCATION...]
- Remove the working tree from a given branch/checkout.
- bzr renames [DIR]
- Show list of renamed files.
- bzr resolve [FILE...]
- Mark a conflict as resolved.
- bzr revert [FILE...]
- Revert files to a previous revision.
- bzr revno [LOCATION]
- Show current revision number.
- bzr root [FILENAME]
- Show the tree root directory.
- bzr send [SUBMIT_BRANCH] [PUBLIC_BRANCH]
- Mail or create a merge-directive for submitting changes.
- bzr serve
- Run the bzr server.
- bzr shelve [FILE...]
- Temporarily set aside some changes from the current tree.
- bzr sign-my-commits [LOCATION] [COMMITTER]
- Sign all commits by a given committer.
- bzr split TREE
- Split a subdirectory of a tree into a separate tree.
- bzr status [FILE...]
- Display status summary.
- bzr switch [TO_LOCATION]
- Set the branch of a checkout and update.
- bzr tag [TAG_NAME]
- Create, remove or modify a tag naming a revision.
- bzr tags
- List tags.
- bzr testament [BRANCH]
- Show testament (signing-form) of a revision.
- bzr unbind
- Convert the current checkout into a regular branch.
- bzr uncommit [LOCATION]
- Remove the last committed revision.
- bzr unshelve [SHELF_ID]
- Restore shelved changes.
- bzr update [DIR]
- Update a working tree to a new revision.
- bzr upgrade [URL]
- Upgrade a repository, branch or working tree to a newer format.
- bzr verify-signatures [LOCATION]
- Verify all commit signatures.
- bzr version
- Show version of bzr.
- bzr version-info [LOCATION]
- Show version information about this tree.
- bzr view [FILE...]
- Manage filtered views.
- bzr whoami [NAME]
- Show or set bzr user id.
COMMAND REFERENCE
bzr --help
Alias for "help", see "bzr help".bzr -?
Alias for "help", see "bzr help".bzr -h
Alias for "help", see "bzr help".bzr ?
Alias for "help", see "bzr help".bzr add [FILE...]
Options:
See also: ignore, remove
Add specified files or directories.
In non-recursive mode, all the named items are added, regardless
of whether they were previously ignored. A warning is given if
any of the named files are already versioned.
In recursive mode (the default), files are treated the same way
but the behaviour for directories is different. Directories that
are already versioned do not give a warning. All directories,
whether already versioned or not, are searched for files or
subdirectories that are neither versioned or ignored, and these
are added. This search proceeds recursively into versioned
directories. If no names are given '.' is assumed.
A warning will be printed when nested trees are encountered,
unless they are explicitly ignored.
Therefore simply saying 'bzr add' will version all files that
are currently unknown.
Adding a file whose parent directory is not versioned will
implicitly add the parent, and so on up to the root. This means
you should never need to explicitly add a directory, they'll just
get added when you add a file in the directory.
--dry-run will show which files would be added, but not actually
add them.
--file-ids-from will try to use the file ids from the supplied path.
It looks up ids trying to find a matching parent directory with the
same filename, and then by pure path. This option is rarely needed
but can be useful when adding the same logical file into two
branches that will be merged later (without showing the two different
adds as a conflict). It is also useful when merging another project
into a subdirectory of this one.
Any files matching patterns in the ignore list will not be added
unless they are explicitly mentioned.
In recursive mode, files larger than the configuration option
add.maximum_file_size will be skipped. Named items are never skipped due
to file size.
Options:
Set/unset and display aliases.
Examples:
bzr alias [NAME]