~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to branchhistory.py

  • Committer: Aaron Bentley
  • Date: 2013-08-20 03:02:43 UTC
  • Revision ID: aaron@aaronbentley.com-20130820030243-r8v1xfbcnd8f10p4
Fix zap command for 2.6/7

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
    b.repository.lock_read()
11
11
    try:
12
12
        for revno, revision in iter_revisiondata(b):
13
 
            new_descriptor = (revision.committer, 
 
13
            new_descriptor = (revision.committer,
14
14
                              revision.properties.get('branch-nick'))
15
15
            if descriptor is None:
16
16
                descriptor = new_descriptor