/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/ja/user-guide/bzrtools_plugin.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:
1
 
BzrTools
2
 
========
3
 
 
4
 
概要
5
 
-----
6
 
 
7
 
BzrToolsは便利なBazaar強化機能のコレクションです。
8
 
インストールの手引きに関しては、BzrToolsのホームページを参照してください:
9
 
http://bazaar-vcs.org/BzrTools.
10
 
よく使われるコマンドのサンプルは下記のとおりです。
11
 
 
12
 
 
13
 
shell
14
 
-----
15
 
 
16
 
``bzr shell`` はBazaarのコマンドを理解する以上のことを行うコマンドインタープリタを起動します。
17
 
これはいくつかの利点を持ちます:
18
 
 
19
 
 * すべてのコマンドの冒頭で ``bzr`` を入力する必要が無くなります。
20
 
 
21
 
 * インテリジェントな自動入力補完が提供されます。
22
 
 
23
 
 * Bazaarのライブラリを毎回ロードする必要がないのでコマンドは少し速く動作します。
24
 
 
25
 
 
26
 
cdiff
27
 
-----
28
 
 
29
 
``bzr cdiff`` は GNU/Linux、UNIXとOS Xで ``bzr diff`` の出力の色つきバージョンを提供します。
30
 
次のようによく使われます::
31
 
 
32
 
  bzr cdiff | less -R