~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-25 16:50:49 UTC
  • mto: This revision was merged to the branch mainline in revision 1738.
  • Revision ID: abentley@panoramicfeedback.com-20060525165049-7c042d3345ac4dbe
Default execute bit to no for new files, directories, symlinks

Show diffs side-by-side

added added

removed removed

Lines of Context:
270
270
 
271
271
        for path, file_id, kind in delta.added:
272
272
            action = Action('added', [kind, path], [('file-id', file_id)])
273
 
            finish_action(action, file_id, kind, kind=='file', True,
 
273
            meta_modified = (kind=='file' and 
 
274
                             new_tree.is_executable(file_id))
 
275
            finish_action(action, file_id, kind, meta_modified, True,
274
276
                          DEVNULL, path)
275
277
 
276
278
        for (old_path, new_path, file_id, kind,