~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/tutorials/centralized_workflow.txt

Merge up through 2.2.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
====================
2
 
Centralized Workflow
3
 
====================
 
1
=============================
 
2
Centralized Workflow Tutorial
 
3
=============================
4
4
 
5
5
 
6
6
Overview
23
23
 
24
24
.. _Bazaar: http://bazaar-vcs.org
25
25
 
26
 
.. contents::
27
 
 
28
26
 
29
27
Initial Setup
30
28
=============
40
38
be accurate or unique, it will be used in log messages and
41
39
annotations, so it is better to have something real.
42
40
 
43
 
::  
 
41
::
44
42
 
45
43
   % bzr whoami "John Doe <jdoe@organization.com>"
46
44
 
85
83
  % bzr init-repo --no-trees sftp://centralhost/srv/bzr/
86
84
 
87
85
You can think of this step as similar to setting up a new cvsroot, or
88
 
subversion repository.  The {{{--no-trees}}} option tells bzr to not
 
86
subversion repository.  The ``--no-trees`` option tells bzr to not
89
87
populate the directory with a working tree.  This is appropriate,
90
88
since no one will be making changes directly in the branches within
91
89
the central repository.
104
102
 
105
103
.. _Tracking Upstream: http://bazaar-vcs.org/TrackingUpstream
106
104
 
107
 
.. 
 
105
..
108
106
   XXX: We really need a different document for discussing conversion of a
109
107
   project. Right now TrackingUpstream is the best we have, though.
110
108
 
284
282
::
285
283
 
286
284
  % bzr branch sftp://centralhost/srv/bzr/sigil/user-a \
287
 
               sftp://centralhost/srv/bzr/sigil/user-a/feature 
 
285
               sftp://centralhost/srv/bzr/sigil/user-a/feature
288
286
  % cd ~/work/sigil
289
287
  % bzr checkout sftp://centralhost/srv/bzr/sigil/user-a/feature myfeature
290
288
 
296
294
-----------------
297
295
 
298
296
Bazaar_ has the concept of a "Shared Repository". This is similar to
299
 
the traditional concept of a repository in other RCSs like CVS and
 
297
the traditional concept of a repository in other VCSs like CVS and
300
298
Subversion. For example, in Subversion you have a remote repository,
301
299
which is where all of the history is stored, and locally you don't
302
300
have any history information, only a checkout of the working tree
312
310
well share the storage as well.
313
311
 
314
312
 
315
 
.. 
 
313
..
316
314
   vim: tw=74 ft=rst spell spelllang=en_us