16
16
store history, not working copies of files, so their enclosing
17
17
repository is usually creating using the ``no-trees`` option, e.g.::
19
bzr init-repo --no-trees bzr+ssh://centralhost/srv/bzr/PROJECT
19
brz init-repo --no-trees bzr+ssh://centralhost/srv/brz/PROJECT
21
21
You can think of this step as similar to setting up a new cvsroot or
22
Subversion repository. However, Bazaar gives you more flexibility
22
Subversion repository. However, Breezy gives you more flexibility
23
23
in how branches may be organised in your repository. See
24
24
`Advanced shared repository layouts <shared_repository_layouts.html>`_
25
25
in the appendices for guidelines and examples.
37
37
Here is an example of the first way::
39
bzr init-repo PROJECT (prepare local repository)
40
bzr init PROJECT/trunk
39
brz init-repo PROJECT (prepare local repository)
40
brz init PROJECT/trunk
42
42
(copy development files)
43
43
cp -ar ~/PROJECT . (copy files in using OS-specific tools)
44
bzr add (populate repository; start version control)
45
bzr commit -m "Initial import"
44
brz add (populate repository; start version control)
45
brz commit -m "Initial import"
46
46
(publish to central repository)
47
bzr push bzr+ssh://centralhost/srv/bzr/PROJECT/trunk
47
brz push bzr+ssh://centralhost/srv/brz/PROJECT/trunk
49
49
Here is an example of the second way::
51
bzr init-repo PROJECT (prepare local repository)
51
brz init-repo PROJECT (prepare local repository)
53
bzr init bzr+ssh://centralhost/srv/bzr/PROJECT/trunk
54
bzr checkout bzr+ssh://centralhost/srv/bzr/PROJECT/trunk
53
brz init bzr+ssh://centralhost/srv/brz/PROJECT/trunk
54
brz checkout bzr+ssh://centralhost/srv/brz/PROJECT/trunk
56
56
cp -ar ~/PROJECT . (copy files in using OS-specific tools)
57
bzr add (populate repository; start version control)
58
bzr commit -m "Initial import"
57
brz add (populate repository; start version control)
58
brz commit -m "Initial import"
59
59
(publish to central repository)
61
61
Note that committing inside a working tree created using