/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 bzrlib/delta.py

Merge with stacked-fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
211
211
    # mutter('start compare_trees')
212
212
 
213
213
    for (file_id, path, content_change, versioned, parent_id, name, kind,
214
 
         executable) in new_tree._iter_changes(old_tree, want_unchanged,
 
214
         executable) in new_tree.iter_changes(old_tree, want_unchanged,
215
215
            specific_files, extra_trees=extra_trees,
216
216
            require_versioned=require_versioned,
217
217
            want_unversioned=want_unversioned):
226
226
            if fully_present[1] is True:
227
227
                delta.added.append((path[1], file_id, kind[1]))
228
228
            else:
229
 
                assert fully_present[0] is True
230
229
                delta.removed.append((path[0], file_id, kind[0]))
231
230
        elif fully_present[0] is False:
232
231
            continue
304
303
        """Report one change to a file
305
304
 
306
305
        :param file_id: The file_id of the file
307
 
        :param path: The old and new paths as generated by Tree._iter_changes.
 
306
        :param path: The old and new paths as generated by Tree.iter_changes.
308
307
        :param versioned: may be 'added', 'removed', 'unchanged', or
309
308
            'unversioned.
310
309
        :param renamed: may be True or False
311
310
        :param modified: may be 'created', 'deleted', 'kind changed',
312
311
            'modified' or 'unchanged'.
313
312
        :param exe_change: True if the execute bit has changed
314
 
        :param kind: A pair of file kinds, as generated by Tree._iter_changes.
 
313
        :param kind: A pair of file kinds, as generated by Tree.iter_changes.
315
314
            None indicates no file present.
316
315
        """
317
316
        if is_quiet():
375
374
    Further processing may be required to produce a human-readable output.
376
375
    Unfortunately, some tree-changing operations are very complex
377
376
    :change_iterator: an iterator or sequence of changes in the format
378
 
        generated by Tree._iter_changes
 
377
        generated by Tree.iter_changes
379
378
    :param reporter: The _ChangeReporter that will report the changes.
380
379
    """
381
380
    versioned_change_map = {