hgext/fastannotate/formatter.py
changeset 41262 e40b7a504b1d
parent 40732 001f27970b60
child 41263 c2f62720e37d
equal deleted inserted replaced
41261:1198c86beb73 41262:e40b7a504b1d
   101                         result += ':  ' + lines[i]
   101                         result += ':  ' + lines[i]
   102                     else:
   102                     else:
   103                         result += ': ' + self.ui.label('-' + lines[i],
   103                         result += ': ' + self.ui.label('-' + lines[i],
   104                                                        'diff.deleted')
   104                                                        'diff.deleted')
   105 
   105 
   106             if result[-1] != '\n':
   106             if result[-1:] != '\n':
   107                 result += '\n'
   107                 result += '\n'
   108 
   108 
   109         self.ui.write(result)
   109         self.ui.write(result)
   110 
   110 
   111     @util.propertycache
   111     @util.propertycache