Merge lp:~nmb/bzr/fix-248182 into lp:bzr

Proposed by Neil Martinsen-Burrell
Status: Merged
Approved by: John A Meinel
Approved revision: not available
Merged at revision: not available
Proposed branch: lp:~nmb/bzr/fix-248182
Merge into: lp:bzr
Diff against target: 31 lines (+11/-5)
1 file modified
bzrlib/builtins.py (+11/-5)
To merge this branch: bzr merge lp:~nmb/bzr/fix-248182
Reviewer Review Type Date Requested Status
John A Meinel Approve
Vincent Ladeuil Approve
Review via email: mp+15560@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Neil Martinsen-Burrell (nmb) wrote :

This fixes 248182 by adding more description to the init-repo help about what shared repositories are good for.

Revision history for this message
Vincent Ladeuil (vila) wrote :

Thanks.

review: Approve
Revision history for this message
John A Meinel (jameinel) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bzrlib/builtins.py'
2--- bzrlib/builtins.py 2009-12-01 00:10:04 +0000
3+++ bzrlib/builtins.py 2009-12-02 16:15:22 +0000
4@@ -1755,16 +1755,22 @@
5
6
7 class cmd_init_repository(Command):
8- """Create a shared repository to hold branches.
9+ """Create a shared repository for branches to share storage space.
10
11 New branches created under the repository directory will store their
12- revisions in the repository, not in the branch directory.
13+ revisions in the repository, not in the branch directory. For branches
14+ with shared history, this reduces the amount of storage needed and
15+ speeds up the creation of new branches.
16
17- If the --no-trees option is used then the branches in the repository
18- will not have working trees by default.
19+ If the --no-trees option is given then the branches in the repository
20+ will not have working trees by default. They will still exist as
21+ directories on disk, but they will not have separate copies of the
22+ files at a certain revision. This can be useful for repositories that
23+ store branches which are interacted with through checkouts or remote
24+ branches, such as on a server.
25
26 :Examples:
27- Create a shared repositories holding just branches::
28+ Create a shared repository holding just branches::
29
30 bzr init-repo --no-trees repo
31 bzr init repo/trunk