[Updated] D9391: errors: raise InputError when push fails because it creates new heads

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Wed Nov 25 22:07:56 UTC 2020


mharbison72 added a comment.


  > I decided to raise InputError here because the user should adapt
  
  I agree that RemoteError isn't great, but isn't this closer to a StateError?  e.g. D9392 <https://phab.mercurial-scm.org/D9392> and D9393 <https://phab.mercurial-scm.org/D9393> are StateErrors signalling that the user needs to resolve conflicts or commit files before merging.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D9391/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D9391

To: martinvonz, #hg-reviewers
Cc: mharbison72, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20201125/111b6338/attachment-0002.html>


More information about the Mercurial-patches mailing list