/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: 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:
725
725
                    trace.warning('Ignoring "%s" as symlinks are not '
726
726
                                  'supported on this filesystem.' % (change.path[0],))
727
727
                    continue
728
 
                deleted_paths.append(change[1][1])
 
728
                deleted_paths.append(change.path[1])
729
729
                # Reset the new path (None) and new versioned flag (False)
730
730
                change = change.discard_new()
731
731
                new_path = change.path[1]
732
732
                versioned = False
733
733
            elif kind == 'tree-reference':
734
734
                if self.recursive == 'down':
735
 
                    self._commit_nested_tree(change[1][1])
 
735
                    self._commit_nested_tree(change.path[1])
736
736
            if change.versioned[0] or change.versioned[1]:
737
737
                yield change
738
738
                if report_changes: