/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: John Arbash Meinel
  • Date: 2009-12-02 23:14:10 UTC
  • mfrom: (4849.3.1 fix-248182)
  • mto: This revision was merged to the branch mainline in revision 4856.
  • Revision ID: john@arbash-meinel.com-20091202231410-hypklxtcjhetcd08
Update docs for init-repo (by nmb)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1755
1755
 
1756
1756
 
1757
1757
class cmd_init_repository(Command):
1758
 
    """Create a shared repository to hold branches.
 
1758
    """Create a shared repository for branches to share storage space.
1759
1759
 
1760
1760
    New branches created under the repository directory will store their
1761
 
    revisions in the repository, not in the branch directory.
 
1761
    revisions in the repository, not in the branch directory.  For branches
 
1762
    with shared history, this reduces the amount of storage needed and 
 
1763
    speeds up the creation of new branches.
1762
1764
 
1763
 
    If the --no-trees option is used then the branches in the repository
1764
 
    will not have working trees by default.
 
1765
    If the --no-trees option is given then the branches in the repository
 
1766
    will not have working trees by default.  They will still exist as 
 
1767
    directories on disk, but they will not have separate copies of the 
 
1768
    files at a certain revision.  This can be useful for repositories that
 
1769
    store branches which are interacted with through checkouts or remote
 
1770
    branches, such as on a server.
1765
1771
 
1766
1772
    :Examples:
1767
 
        Create a shared repositories holding just branches::
 
1773
        Create a shared repository holding just branches::
1768
1774
 
1769
1775
            bzr init-repo --no-trees repo
1770
1776
            bzr init repo/trunk