Mercurial > hg
comparison mercurial/dirstate.py @ 2832:e196aa1df169
Start using manifestflags methods
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 16 Jul 2006 03:14:17 -0500 |
parents | 3ea8111ead90 |
children | e78cad1f6b1f |
comparison
equal
deleted
inserted
replaced
2831:0b50a580be36 | 2832:e196aa1df169 |
---|---|
236 | 236 |
237 def rebuild(self, parent, files): | 237 def rebuild(self, parent, files): |
238 self.clear() | 238 self.clear() |
239 umask = os.umask(0) | 239 umask = os.umask(0) |
240 os.umask(umask) | 240 os.umask(umask) |
241 for f, mode in files: | 241 for f in files: |
242 if mode: | 242 if files.execf(f): |
243 self.map[f] = ('n', ~umask, -1, 0) | 243 self.map[f] = ('n', ~umask, -1, 0) |
244 else: | 244 else: |
245 self.map[f] = ('n', ~umask & 0666, -1, 0) | 245 self.map[f] = ('n', ~umask & 0666, -1, 0) |
246 self.pl = (parent, nullid) | 246 self.pl = (parent, nullid) |
247 self.markdirty() | 247 self.markdirty() |