1. Marcus Lindblom Sonestedt
  2. ml-hgext

Commits

Vsevolod Parfenov  committed f0815fc

checkfiles: Improved debug output

  • Participants
  • Parent commits f0f7727
  • Branches default

Comments (0)

Files changed (1)

File checkfiles.py

View file
  • Ignore whitespace
                                                  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)