equal
deleted
inserted
replaced
216 if found: |
216 if found: |
217 self.ui.note(msg % f) |
217 self.ui.note(msg % f) |
218 self.repo.wwrite(f, data, mf.flags(f)) |
218 self.repo.wwrite(f, data, mf.flags(f)) |
219 if iswctx: |
219 if iswctx: |
220 self.repo.dirstate.normal(f) |
220 self.repo.dirstate.normal(f) |
|
221 elif self.record: |
|
222 self.repo.dirstate.normallookup(f) |
221 self.restrict = False |
223 self.restrict = False |
222 |
224 |
223 def shrinktext(self, text): |
225 def shrinktext(self, text): |
224 '''Unconditionally removes all keyword substitutions from text.''' |
226 '''Unconditionally removes all keyword substitutions from text.''' |
225 return self.re_kw.sub(r'$\1$', text) |
227 return self.re_kw.sub(r'$\1$', text) |