~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/delta.py

  • Committer: Aaron Bentley
  • Date: 2007-02-08 22:42:45 UTC
  • mto: This revision was merged to the branch mainline in revision 2288.
  • Revision ID: abentley@panoramicfeedback.com-20070208224245-fyktmyk673mcl83t
Use tree transform to emit upcoming change list

Show diffs side-by-side

added added

removed removed

Lines of Context:
344
344
        exe_change = False
345
345
        # files are "renamed" if they are moved or if name changes, as long
346
346
        # as it had a value
347
 
        if None not in name and (name[0] != name[1] or
348
 
                                 parent_id[0] != parent_id[1]):
 
347
        if None not in name and None not in parent_id and\
 
348
            (name[0] != name[1] or parent_id[0] != parent_id[1]):
349
349
            renamed = True
350
350
        else:
351
351
            renamed = False