Commits

Yuya Nishihara committed 334741b

guess: fix compatibility of mdiff.unidiff() after hg c84ef0047a94

In Mercurial 2.4, r=None is the default value, so we don't need to specify
None explicitly.

  • Participants
  • Parent commits 2dd1589
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/guess.py

         aa = self.repo.wread(dest)
         rr = ctx.filectx(src).data()
         date = hglib.displaytime(ctx.date())
-        difftext = mdiff.unidiff(rr, date, aa, date, src, dest, None)
+        difftext = mdiff.unidiff(rr, date, aa, date, src, dest)
         if not difftext:
             t = _('%s and %s have identical contents\n\n') % \
                     (hglib.tounicode(src), hglib.tounicode(dest))