equal
deleted
inserted
replaced
202 return super(kwfilelog, self).add(text, meta, tr, link, p1=p1, p2=p2) |
202 return super(kwfilelog, self).add(text, meta, tr, link, p1=p1, p2=p2) |
203 |
203 |
204 def cmp(self, node, text): |
204 def cmp(self, node, text): |
205 '''Removes keyword substitutions for comparison.''' |
205 '''Removes keyword substitutions for comparison.''' |
206 text = self.kwtemplater.shrink(text) |
206 text = self.kwtemplater.shrink(text) |
|
207 if self.renamed(node): |
|
208 t2 = super(kwfilelog, self).read(node) |
|
209 return t2 != text |
207 return super(kwfilelog, self).cmp(node, text) |
210 return super(kwfilelog, self).cmp(node, text) |
208 |
211 |
209 |
212 |
210 def reposetup(ui, repo): |
213 def reposetup(ui, repo): |
211 '''Sets up repo as kwrepo for keyword substitution. |
214 '''Sets up repo as kwrepo for keyword substitution. |