/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/plugins/stats/classify.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-12-23 00:51:26 UTC
  • mfrom: (7414.3.2 fix-stats)
  • Revision ID: breezy.the.bot@gmail.com-20191223005126-z6thojgn8i8x00ht
Fix the credits command, and add some blackbox tests for the stats plugin.

Merged from https://code.launchpad.net/~jelmer/brz/fix-stats/+merge/376099

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
    # number of lines changed in a file.
66
66
    types = []
67
67
    for d in delta.added + delta.modified:
68
 
        types.append(classify_filename(d[0]))
 
68
        types.append(classify_filename(d.path[1] or d.path[0]))
69
69
    return types