equal
deleted
inserted
replaced
354 self.ui.note(msg % f) |
354 self.ui.note(msg % f) |
355 fp = self.repo.wvfs(f, b"wb", atomictemp=True) |
355 fp = self.repo.wvfs(f, b"wb", atomictemp=True) |
356 fp.write(data) |
356 fp.write(data) |
357 fp.close() |
357 fp.close() |
358 if kwcmd: |
358 if kwcmd: |
359 self.repo.dirstate.normal(f) |
359 self.repo.dirstate.set_clean(f) |
360 elif self.postcommit: |
360 elif self.postcommit: |
361 self.repo.dirstate.normallookup(f) |
361 self.repo.dirstate.normallookup(f) |
362 |
362 |
363 def shrink(self, fname, text): |
363 def shrink(self, fname, text): |
364 '''Returns text with all keyword substitutions removed.''' |
364 '''Returns text with all keyword substitutions removed.''' |