/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/commit.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:
698
698
                    trace.warning('Ignoring "%s" as symlinks are not '
699
699
                                  'supported on this filesystem.' % (change.path[0],))
700
700
                    continue
701
 
                deleted_paths.append(change[1][1])
 
701
                deleted_paths.append(change.path[1])
702
702
                # Reset the new path (None) and new versioned flag (False)
703
703
                change = change.discard_new()
704
704
                new_path = change.path[1]
705
705
                versioned = False
706
706
            elif kind == 'tree-reference':
707
707
                if self.recursive == 'down':
708
 
                    self._commit_nested_tree(change[1][1])
 
708
                    self._commit_nested_tree(change.path[1])
709
709
            if change.versioned[0] or change.versioned[1]:
710
710
                yield change
711
711
                if report_changes: