~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

(jameinel) Update WT.pull to use fast Repository iter_changes when
 .fast_deltas is true. (bug #780677) (John A Meinel)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1032
1032
            new_revision_info = self.branch.last_revision_info()
1033
1033
            if new_revision_info != old_revision_info:
1034
1034
                repository = self.branch.repository
 
1035
                if repository._format.fast_deltas:
 
1036
                    parent_ids = self.get_parent_ids()
 
1037
                    if parent_ids:
 
1038
                        basis_id = parent_ids[0]
 
1039
                        basis_tree = repository.revision_tree(basis_id)
1035
1040
                basis_tree.lock_read()
1036
1041
                try:
1037
1042
                    new_basis_tree = self.branch.basis_tree()