-
Committer:
Vincent Ladeuil
-
Date:
2009-10-06 14:40:37 UTC
-
mto:
(4728.1.2 integration)
-
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).
.. |
bzrlib
|
1185.1.29
|
20 years ago |
Robert Collins |
merge merge tweaks from aaron, which includes late |
|
|
|
contrib
|
1185.1.29
|
20 years ago |
Robert Collins |
merge merge tweaks from aaron, which includes late |
|
|
|
doc
|
1185.1.29
|
20 years ago |
Robert Collins |
merge merge tweaks from aaron, which includes late |
|
|
|
man1
|
2425.1.1
|
18 years ago |
Robert Collins |
``make docs`` now creates a man page at ``man1/bzr |
|
|
|
tools
|
1185.1.29
|
20 years ago |
Robert Collins |
merge merge tweaks from aaron, which includes late |
|
|
|
.bzrignore |
4634.39.35
|
16 years ago |
Ian Clatworthy |
put rules back in Makefile supporting plain-style |
1.1 KB |
|
|
.rsyncexclude |
1185.33.36
|
20 years ago |
Martin Pool |
Exclude more files from dumb-rsync upload |
203 bytes |
|
|
BRANCH.TODO |
4325.3.4
|
16 years ago |
Johan Walles |
Merge from upstream.
|
150 bytes |
|
|
bzr |
4676.4.1
|
16 years ago |
Martin Pool |
merge 2.0rc2, sphinx, and various fixes back to tr |
5.6 KB |
|
|
bzr.ico |
3688.3.3
|
17 years ago |
John Arbash Meinel |
An updated transparent icon for bzr. |
12.7 KB |
|
|
COPYING.txt |
1861.2.9
|
19 years ago |
Alexander Belchenko |
rename gpl.txt => COPYING.txt
|
17.5 KB |
|
|
INSTALL |
2696.2.4
|
18 years ago |
Aaron Bentley |
Fix typo |
1.4 KB |
|
|
Makefile |
4719.1.1
|
16 years ago |
Andrew Bennetts |
Add --subunit to 'make check'. |
14.5 KB |
|
|
NEWS |
4721.3.2
|
16 years ago |
Vincent Ladeuil |
Simplify mutable_tree.has_changes() and update cal |
394 KB |
|
|
profile_imports.py |
4183.7.1
|
16 years ago |
Sabin Iacob |
update FSF mailing address |
5.5 KB |
|
|
README |
3286
|
17 years ago |
Canonical.com Patch Queue Manager |
Start 1.4 development |
3.3 KB |
|
|
setup.py |
4634.48.1
|
16 years ago |
Alexander Belchenko |
trivial improvement re collecting dependencies for |
26.7 KB |
|
|
TODO |
2382.2.5
|
18 years ago |
Martin Pool |
Contents of TODO file moved into bug tracker |
115 bytes |
|
|