/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 doc/en/user-guide/reusing_a_checkout.txt

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 19:09:26 UTC
  • mfrom: (6622.1.36 breezy)
  • Revision ID: jelmer@jelmer.uk-20170521190926-5vtz8xaf0e9ylrpc
Merge rename to breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 * developing in a fixed location.
13
13
 
14
14
In many cases, working tree disk usage swamps the size of the
15
 
``.bzr`` directory. If you want to work on multiple branches
 
15
``.brz`` directory. If you want to work on multiple branches
16
16
but can't afford the overhead of a full working tree for each,
17
17
reusing a checkout across multiples branches is the way to go.
18
18
 
61
61
with a local tree-less repository. This lets you switch what you
62
62
are working on with ease. For example::
63
63
 
64
 
  bzr init-repo --no-trees PROJECT
 
64
  brz init-repo --no-trees PROJECT
65
65
  cd PROJECT
66
 
  bzr branch bzr+ssh://centralhost/srv/bzr/PROJECT/trunk
67
 
  bzr checkout --lightweight trunk my-sandbox
 
66
  brz branch bzr+ssh://centralhost/srv/brz/PROJECT/trunk
 
67
  brz checkout --lightweight trunk my-sandbox
68
68
  cd my-sandbox
69
69
  (hack away)
70
70
 
71
 
Note that trunk in this example will have a ``.bzr`` directory within it
 
71
Note that trunk in this example will have a ``.brz`` directory within it
72
72
but there will be no working tree there as the branch was created in
73
73
a tree-less repository. You can grab or create as many branches as you
74
74
need there and switch between them as required. For example::
75
75
 
76
76
  (assuming in my-sandbox)
77
 
  bzr branch bzr+ssh://centralhost/srv/bzr/PROJECT/PROJECT-1.0 ../PROJECT-1.0
78
 
  bzr switch ../PROJECT-1.0
 
77
  brz branch bzr+ssh://centralhost/srv/brz/PROJECT/PROJECT-1.0 ../PROJECT-1.0
 
78
  brz switch ../PROJECT-1.0
79
79
  (fix bug in 1.0)
80
 
  bzr commit -m "blah, blah blah"
81
 
  bzr switch ../trunk
 
80
  brz commit -m "blah, blah blah"
 
81
  brz switch ../trunk
82
82
  (go back to working on the trunk)
83
83
 
84
84
Note: The branches may be local only or they may be bound to