/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/introducing_bazaar.txt

  • Committer: Vincent Ladeuil
  • Date: 2009-10-06 14:40:37 UTC
  • mto: (4728.1.2 integration)
  • mto: This revision was merged to the branch mainline in revision 4731.
  • Revision ID: v.ladeuil+lp@free.fr-20091006144037-o76rgosv9hj3td0y
Simplify mutable_tree.has_changes() and update call sites.

* bzrlib/workingtree.py:
(WorkingTree.merge_from_branch): Add a force parameter. Replace
the check_basis() call by the corresponding code, taken the new
'force' parameter into account.

* bzrlib/tests/test_status.py:
(TestStatus.make_multiple_pending_tree): Add force=True on
supplementary merges.

* bzrlib/tests/test_reconfigure.py:
(TestReconfigure): Add a test for pending merges.

* bzrlib/tests/test_msgeditor.py:
(MsgEditorTest.make_multiple_pending_tree): Add force=True on
supplementary merges.

* bzrlib/tests/blackbox/test_uncommit.py:
(TestUncommit.test_uncommit_octopus_merge): Add force=True on
supplementary merges.

* bzrlib/send.py:
(send): Use the simplified has_changes(). Fix typo in comment too.

* bzrlib/reconfigure.py:
(Reconfigure._check): Use the simplified has_changes().

* bzrlib/mutabletree.py:
(MutableTree.has_changes): Make the tree parameter optional but
retain it for tests. Add a pending merges check.

* bzrlib/merge.py:
(Merger.ensure_revision_trees, Merger.file_revisions,
Merger.check_basis, Merger.compare_basis): Deprecate.

* bzrlib/bundle/apply_bundle.py:
(merge_bundle): Replace the check_basis() call by the
corresponding code.

* bzrlib/builtins.py:
(cmd_remove_tree.run, cmd_push.run, cmd_merge.run): Use the
simplified has_changes().
(cmd_merge.run): Replace the check_basis call() by the corresponding
code (minus the alredy done has_changes() check).

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
This guide takes you through installing Bazaar and how to use it,
20
20
whether on your own or with a team of other people. If you're already
21
 
familiar with distributed version control and want to dive straight in,
 
21
familiar with distributed version control and want to dive straight in, 
22
22
you may wish to skim this section and jump straight to
23
23
`Learning more`_.
24
24
 
49
49
To record or *commit* these changes, the user needs access to the central
50
50
server and they need to ensure they have merged their work with the latest
51
51
version stored before trying to commit. This approach is known as the
52
 
centralized model.
 
52
centralized model. 
53
53
 
54
54
The centralized model has proven useful over time but it can have some notable
55
55
drawbacks. Firstly, a centralized VCS requires that one is able to connect
87
87
     move them into the core
88
88
 
89
89
 * in companies, easier to work with distributed and outsourced teams.
90
 
 
 
90
   
91
91
For a detailed look at the advantages of distributed VCS tools over
92
92
centralized VCS tools, see http://bazaar-vcs.org/BzrWhy.
93
93
 
134
134
details on the commands and options available.
135
135
 
136
136
.. _Bazaar in five minutes: ../mini-tutorial/index.html
137
 
.. _Bazaar Quick Start Card: ../quick-reference/index.html
138
 
.. _Bazaar User Reference: ../user-reference/index.html
 
137
.. _Bazaar Quick Start Card: ../quick-reference/quick-start-summary.svg
 
138
.. _Bazaar User Reference: ../user-reference/bzr_man.html
139
139
 
140
140
We hope you find this manual useful. If you have suggestions on how it
141
141
or the rest of Bazaar's documentation can be improved, please contact