~bzr-pqm/bzr/bzr.dev

  • Committer: Vincent Ladeuil
  • Date: 2010-09-16 16:13:18 UTC
  • mto: (5502.1.1 trunk)
  • Revision ID: v.ladeuil+lp@free.fr-20100916161318-c9k41sne1m12rxl9
Add ``bzrlib.transform.orphan_policy`` and allows ``never`` to restore the previous behaviour.

* bzrlib/transform.py:
(TreeTransformBase._get_potential_orphans): Simplified.
(DiskTreeTransform.new_orphan): Use the orphaning_registry.
(refuse_orphan): Implement the previous behaviour (never orphan).
(conflict_pass): Clarify orphan creation and fallback on error.

* bzrlib/tests/test_transform.py:
(TestOrphan.test_never_orphan): Add more tests to cover no
orphaning and orphaning errors.
Filename Latest Rev Last Changed Committer Comment Size
..
data_migration.txt 4634.63.1 15 years ago Barry Warsaw Elaborate on LP branch migration and fix a few typ 7.6 KB Diff Download File
index.txt 4634.38.1 15 years ago Ian Clatworthy first cut at pdf docs via sphinx 367 bytes Diff Download File
overview.txt 5050.22.1 14 years ago John Arbash Meinel Lots of documentation updates. We had a lot of ht 3.1 KB Diff Download File
tips_and_tricks.txt 4501.3.6 15 years ago Ian Clatworthy Apply review feedback 1 KB Diff Download File