Bojan Nikolic's Web-pages

[home] | [blog] | [BN Algorithms] | [astro]

Bazaar: bzr init-repository

Purpose:

Create a shared repository to hold branches.

Usage:

bzr init-repository LOCATION

Options:
--no-trees

Branches in the repository will default to not having a working tree.

-v, --verbose

Display more information.

-q, --quiet

Only display errors and warnings.

-h, --help

Show help message.

Repository format:
--format=ARG

Specify a format for this repository. See "bzr help formats" for details.

System Message: WARNING/2 (gen/bzr/bzr-init-repository.txt, line 14)

Option list ends without a blank line; unexpected unindent.

--1.6 A branch and pack based repository that supports stacking. --1.6.1-rich-root A branch and pack based repository that supports stacking and rich root data (needed for bzr-

System Message: ERROR/3 (gen/bzr/bzr-init-repository.txt, line 16)

Unexpected indentation.

svn).

System Message: WARNING/2 (gen/bzr/bzr-init-repository.txt, line 17)

Block quote ends without a blank line; unexpected unindent.

--default

New in 0.92: Pack-based format with data compatible with dirstate-tags format repositories. Interoperates with bzr repositories before 0.92 but cannot be read by bzr < 0.92. Previously called knitpack-experimental. For more information, see http://doc.bazaar- vcs.org/latest/developers/packrepo.html.

--development

Current development format. Can convert data to and from pack-0.92 (and anything compatible with pack-0.92) format repositories. Repositories and branches in this format can only be read by bzr.dev. Please read http://doc.bazaar-vcs.org/latest/developers/development-repo.html before use.

--development-subtree
 

Current development format, subtree variant. Can convert data to and from pack-0.92-subtree (and anything compatible with pack-0.92-subtree) format repositories. Repositories and branches in this format can only be read by bzr.dev. Please read http://doc.bazaar-vcs.org/latest/developers /development-repo.html before use.

--dirstate

New in 0.15: Fast local operations. Compatible with bzr 0.8 and above when accessed over the network.

--dirstate-tags
 

New in 0.15: Fast local operations and improved scaling for network operations. Additionally adds support for tags. Incompatible with bzr < 0.15.

--knit

Format using knits. Recommended for interoperation with bzr <= 0.14.

--metaweave

Transitional format in 0.8. Slower than knit.

--pack-0dot92

New in 0.92: Pack-based format with data compatible with dirstate-tags format repositories. Interoperates with bzr repositories before 0.92 but cannot be read by bzr < 0.92. Previously called knitpack-experimental. For more information, see http://doc.bazaar- vcs.org/latest/developers/packrepo.html.

--rich-root

New in 1.0. Better handling of tree roots. Incompatible with bzr < 1.0

--rich-root-pack
 

New in 1.0: Pack-based format with data compatible with rich-root format repositories. Incompatible with bzr < 1.0

--weave

Pre-0.8 format. Slower than knit and does not support checkouts or shared repositories.

Description:

New branches created under the repository directory will store their revisions in the repository, not in the branch directory.

If the --no-trees option is used then the branches in the repository will not have working trees by default.

Examples:

Create a shared repositories holding just branches:

bzr init-repo --no-trees repo
bzr init repo/trunk

Make a lightweight checkout elsewhere:

bzr checkout --lightweight repo/trunk trunk-checkout
cd trunk-checkout
(add files here)
Aliases:

init-repo

See also:

branch, checkout, init, repositories

See also

init branch checkout repositories

Version

This page documents Bazaar version 1.8

Licensing

The above text is licensed under GNU General Public License version 2. The Copyright of the text above is held by Canonical Ltd.

Blog tools: Add to Technorati Favorites Save to del.iciou.us