Commits

Steve Borho committed 90cd0cf

changeset: remove reference to patch.NoHunks

closes #1595

  • Participants
  • Parent commits e22f93b
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgtk/changeset.py

                         hunks.extend([l.rstrip('\r\n') for l in values.hunk])
                     else:
                         raise _('unknown hunk type: %s') % state
-            except patch.NoHunks:
+            except patch.PatchError:
                 pass
         finally:
             pf.close()