Commits

Steve Borho  committed bc7d376

chunks: catch ValueError from internalpatch (fixes #1249)

  • Participants
  • Parent commits 6c9bd1f
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/chunks.py

                                           eolmode=eolmode)
                 if updatestate:
                     cmdutil.updatedir(repo.ui, repo, pfiles)
+            except ValueError:
+                ret = -1
             if ret < 0:
                 ok = False
                 self.showMessage.emit(_('Patch failed to apply'))