Commits

Vsevolod Parfenov committed f0815fc

checkfiles: Improved debug output

Comments (0)

Files changed (1)

                                                  self.ctx.p1().node(),
                                                  self.ctx.node(),
                                                  cmdutil.match(self.repo)):
-                    self.ui.debug('checkfiles: %s="%s"\n' % (label, chunk))
+                    if len(label) > 0 or chunk != '\n':
+                        self.ui.debug('checkfiles: %s="%s"\n' % (label, chunk))
                     if label == 'diff.file_b':
                         state.endfile(file)
                         file = re.sub(r'^[+][+][+] b/(.+)\t.+$', r'\1', chunk)