equal
deleted
inserted
replaced
211 self.map[f] = ('n', ~umask & 0666, -1, 0) |
211 self.map[f] = ('n', ~umask & 0666, -1, 0) |
212 self.pl = (parent, nullid) |
212 self.pl = (parent, nullid) |
213 self.markdirty() |
213 self.markdirty() |
214 |
214 |
215 def write(self): |
215 def write(self): |
|
216 if not self.dirty: |
|
217 return |
216 st = self.opener("dirstate", "w", atomic=True) |
218 st = self.opener("dirstate", "w", atomic=True) |
217 st.write("".join(self.pl)) |
219 st.write("".join(self.pl)) |
218 for f, e in self.map.items(): |
220 for f, e in self.map.items(): |
219 c = self.copied(f) |
221 c = self.copied(f) |
220 if c: |
222 if c: |