hgext/convert/bzr.py
changeset 10282 08a0f04b56bd
parent 10263 25e572394f5c
child 10394 4612cded5176
equal deleted inserted replaced
10281:e7d3b509af8b 10282:08a0f04b56bd
   201                         topath = self.recode(paths[1] + '/' + name)
   201                         topath = self.recode(paths[1] + '/' + name)
   202                         # register the files as changed
   202                         # register the files as changed
   203                         changes.append((frompath, revid))
   203                         changes.append((frompath, revid))
   204                         changes.append((topath, revid))
   204                         changes.append((topath, revid))
   205                         # add to mode cache
   205                         # add to mode cache
   206                         mode = ((entry.executable and 'x') or (entry.kind == 'symlink' and 's')
   206                         mode = ((entry.executable and 'x')
       
   207                                 or (entry.kind == 'symlink' and 's')
   207                                 or '')
   208                                 or '')
   208                         self._modecache[(topath, revid)] = mode
   209                         self._modecache[(topath, revid)] = mode
   209                         # register the change as move
   210                         # register the change as move
   210                         renames[topath] = frompath
   211                         renames[topath] = frompath
   211 
   212