/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

Viewing changes to doc/en/user-guide/publishing_a_branch.txt

  • Committer: Jelmer Vernooij
  • Date: 2017-05-24 01:39:33 UTC
  • mfrom: (3815.3776.6)
  • Revision ID: jelmer@jelmer.uk-20170524013933-ir4y4tqtrsiz2ka2
New upstream snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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.::
18
18
 
19
 
  bzr init-repo --no-trees bzr+ssh://centralhost/srv/bzr/PROJECT
 
19
  brz init-repo --no-trees bzr+ssh://centralhost/srv/brz/PROJECT
20
20
 
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.
36
36
 
37
37
Here is an example of the first way::
38
38
 
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
41
41
  cd 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
48
48
 
49
49
Here is an example of the second way::
50
50
 
51
 
  bzr init-repo PROJECT  (prepare local repository)
 
51
  brz init-repo PROJECT  (prepare local repository)
52
52
  cd PROJECT
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
55
55
  cd 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)
60
60
 
61
61
Note that committing inside a working tree created using