Hub: Hub is using stale PR message

Created on 29 Aug 2016  路  5Comments  路  Source: github/hub

Hello, I've been seeing a strange issue with hub where it's stuck with an old PR message. No matter what branch I'm trying to send a pull request from, it's always showing that same old PR message.

Update: Uninstalling hub and re-installing didn't fix the issue. And it has also started giving me this error:

Error creating pull request: Unprocessable Entity (HTTP 422)
Invalid value for "head"

more-info-needed

Most helpful comment

I am also having this issue.
I just forgot to push the branch to origin before doing the pull request...

All 5 comments

I am also having this issue.
I just forgot to push the branch to origin before doing the pull request...

Hi @Saketme, I'm sorry that you're having trouble. Can you try removing the file .git/PULLREQ_EDITMSG from your repo and trying again? Does the stale pull request message persist even after you've sucessfully opened a pull request? What OS is this on and which hub version are you using?

So lately this has stopped happening. I'm no longer seeing stale messages and I don't know how to reproduce it. I'll try removing PULLREQ_EDITMSG the next it happens.

Also, the -a flag seems to have stopped working for assigning someone to a PR. I know it's not a stable feature, but I just wanted to confirm if I'm doing something wrong?

I'm already looking into problems with -a. I will make a new prerelease once that's fixed. But if you have no other issues, please close this one. If you do have other issues, please enable debug mode with HUB_VERBOSE=1 hub ... and send any info that stands out to you. Thanks!

Sure

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xxmyjk picture xxmyjk  路  4Comments

jfritzbarnes picture jfritzbarnes  路  3Comments

DennisSchiefer picture DennisSchiefer  路  4Comments

mshick picture mshick  路  3Comments

technosophos picture technosophos  路  3Comments