equal
deleted
inserted
replaced
445 if dir: |
445 if dir: |
446 if dir not in self._dirs: |
446 if dir not in self._dirs: |
447 self._dirs[dir] = treemanifest(self._subpath(dir)) |
447 self._dirs[dir] = treemanifest(self._subpath(dir)) |
448 self._dirs[dir].__setitem__(subpath, n) |
448 self._dirs[dir].__setitem__(subpath, n) |
449 else: |
449 else: |
450 self._files[f] = n |
450 self._files[f] = n[:21] # to match manifestdict's behavior |
451 |
451 |
452 def setflag(self, f, flags): |
452 def setflag(self, f, flags): |
453 """Set the flags (symlink, executable) for path f.""" |
453 """Set the flags (symlink, executable) for path f.""" |
454 dir, subpath = _splittopdir(f) |
454 dir, subpath = _splittopdir(f) |
455 if dir: |
455 if dir: |