You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems like something we could catch specifically and display a helpful error message like "PR X was not found, perhaps it's on a different remote, here's how you can specify that"?
The text was updated successfully, but these errors were encountered:
After what I'm currently working on (#37) I was thinking of working on #33 and maybe that could be worked on in conjunction with this. So when the error is "Could not resolve to a PullRequest ..." we could display a helpful message.
One question I have is:
Should it always display or only when the remote is different from origin?
The --remote suggestion should only display when there's a remote present whose name is not origin :-) The nicer error message about "we couldn't find a PR" should always display.
When I run
can-merge -p 3133
on a repo where the PR does exist, but under a non-origin remote, I get this:This seems like something we could catch specifically and display a helpful error message like "PR X was not found, perhaps it's on a different remote, here's how you can specify that"?
The text was updated successfully, but these errors were encountered: