/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-09-21 19:00:56 UTC
  • mfrom: (7358.16.4 tree-change-without-file-id)
  • Revision ID: breezy.the.bot@gmail.com-20190921190056-6ti43ngs2vpo8obd
Don't make TreeChange tuple-like objects anymore, so we can add and remove attributes as necessary.

Merged from https://code.launchpad.net/~jelmer/brz/tree-change-without-file-id/+merge/369484

Show diffs side-by-side

added added

removed removed

Lines of Context:
1031
1031
        has_changes = 0
1032
1032
 
1033
1033
        def changes_key(change):
1034
 
            old_path, new_path = change[1]
 
1034
            old_path, new_path = change.path
1035
1035
            path = new_path
1036
1036
            if path is None:
1037
1037
                path = old_path