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

  • Committer: Jelmer Vernooij
  • Date: 2018-08-21 19:28:52 UTC
  • mfrom: (7078 work)
  • mto: This revision was merged to the branch mainline in revision 7101.
  • Revision ID: jelmer@jelmer.uk-20180821192852-ipy6m8q95bbst223
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
165
165
    delta.removed.sort()
166
166
    delta.added.sort()
167
167
    delta.renamed.sort()
168
 
    delta.missing.sort()
 
168
    def missing_key(change):
 
169
        return (change[0] or '', change[1])
 
170
    delta.missing.sort(key=missing_key)
169
171
    # TODO: jam 20060529 These lists shouldn't need to be sorted
170
172
    #       since we added them in alphabetical order.
171
173
    delta.modified.sort()