/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 breezy/diff.py

  • Committer: Jelmer Vernooij
  • Date: 2019-06-29 21:31:14 UTC
  • mto: This revision was merged to the branch mainline in revision 7390.
  • Revision ID: jelmer@jelmer.uk-20190629213114-ux6f3xcof8olitvr
Don't make TreeChange tuple-like objects anymore, so we can add and remove attributes as necessary.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1051
1051
        has_changes = 0
1052
1052
 
1053
1053
        def changes_key(change):
1054
 
            old_path, new_path = change[1]
 
1054
            old_path, new_path = change.path
1055
1055
            path = new_path
1056
1056
            if path is None:
1057
1057
                path = old_path