~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-04-12 08:40:15 UTC
  • mfrom: (1651.1.7 bzr.mbp.escape-stores)
  • Revision ID: pqm@pqm.ubuntu.com-20060412084015-e6472a0717edbca6
(mbp) storage escaping, cleanups

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
from bzrlib.symbol_versioning import *
94
94
from bzrlib.textui import show_status
95
95
import bzrlib.tree
96
 
from bzrlib.trace import mutter
97
96
from bzrlib.transform import build_tree
 
97
from bzrlib.trace import mutter, note
98
98
from bzrlib.transport import get_transport
99
99
from bzrlib.transport.local import LocalTransport
100
100
import bzrlib.ui
1164
1164
                                      InventoryFile,
1165
1165
                                      InventoryLink)
1166
1166
        inv = Inventory(self.get_root_id())
1167
 
        for path, file_id, parent, kind in new_inventory_list:
 
1167
        for path, file_id, parent, kind, executable in new_inventory_list:
1168
1168
            name = os.path.basename(path)
1169
1169
            if name == "":
1170
1170
                continue
1172
1172
            if kind == 'directory':
1173
1173
                inv.add(InventoryDirectory(file_id, name, parent))
1174
1174
            elif kind == 'file':
1175
 
                inv.add(InventoryFile(file_id, name, parent))
 
1175
                ie = InventoryFile(file_id, name, parent)
 
1176
                ie.executable = executable
 
1177
                inv.add(ie)
1176
1178
            elif kind == 'symlink':
1177
1179
                inv.add(InventoryLink(file_id, name, parent))
1178
1180
            else: