~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/changeset/serializer/v07.py

  • Committer: Aaron Bentley
  • Date: 2006-05-19 16:47:39 UTC
  • mto: This revision was merged to the branch mainline in revision 1738.
  • Revision ID: abentley@panoramicfeedback.com-20060519164739-4d0e8f7d54197bea
Get symlink modification, renames and deletion under test

Show diffs side-by-side

added added

removed removed

Lines of Context:
207
207
            do_revision(file_id)
208
208
            if meta_modified:
209
209
                do_meta(file_id)
 
210
            if text_modified and kind == "symlink":
 
211
                do_target(new_tree.inventory[file_id].symlink_target)
210
212
            w('\n')
211
 
            if text_modified:
 
213
            if text_modified and kind == "file":
212
214
                do_diff(old_path, file_id, new_path, text_modified)
213
215
 
214
216
        for (path, file_id, kind,
219
221
            do_revision(file_id)
220
222
            if meta_modified:
221
223
                do_meta(file_id)
 
224
            if text_modified and kind == "symlink":
 
225
                do_target(new_tree.inventory[file_id].symlink_target)
222
226
            w('\n')
223
 
            if text_modified:
 
227
            if text_modified and kind == "file":
224
228
                do_diff(path, file_id, path, kind)
225
229
 
226
230