Rev 3506: Find some code that thought we were dealing in absolute paths in http://bzr.arbash-meinel.com/branches/bzr/jam-integration
John Arbash Meinel
john at arbash-meinel.com
Mon Jun 23 21:12:42 BST 2008
At http://bzr.arbash-meinel.com/branches/bzr/jam-integration
------------------------------------------------------------
revno: 3506
revision-id: john at arbash-meinel.com-20080623201216-0hm9dxvq6murh8jl
parent: john at arbash-meinel.com-20080620190638-0vayap44pyg1kfrq
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: jam-integration
timestamp: Mon 2008-06-23 15:12:16 -0500
message:
Find some code that thought we were dealing in absolute paths
-------------- next part --------------
=== modified file 'bzrlib/merge.py'
--- a/bzrlib/merge.py 2008-05-29 19:46:01 +0000
+++ b/bzrlib/merge.py 2008-06-23 20:12:16 +0000
@@ -419,15 +419,14 @@
merge = self.make_merger()
merge.do_merge()
if self.recurse == 'down':
- for path, file_id in self.this_tree.iter_references():
- sub_tree = self.this_tree.get_nested_tree(file_id, path)
+ for relpath, file_id in self.this_tree.iter_references():
+ sub_tree = self.this_tree.get_nested_tree(file_id, relpath)
other_revision = self.other_tree.get_reference_revision(
- file_id, path)
+ file_id, relpath)
if other_revision == sub_tree.last_revision():
continue
sub_merge = Merger(sub_tree.branch, this_tree=sub_tree)
sub_merge.merge_type = self.merge_type
- relpath = self.this_tree.relpath(path)
other_branch = self.other_branch.reference_parent(file_id, relpath)
sub_merge.set_other_revision(other_revision, other_branch)
base_revision = self.base_tree.get_reference_revision(file_id)
More information about the bazaar-commits
mailing list