Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Reuse pull-request message if creating the PR failed #178

Closed
mislav opened this Issue · 0 comments

1 participant

@mmozuras mmozuras referenced this issue from a commit in mmozuras/hub
@mmozuras mmozuras Reuse PULLREQ_EDITMSG if creating pull request failed
Do it by deleting PULLREQ_EDITMSG if everything's ok. Fixes #178
d8e3228
@badboy badboy referenced this issue from a commit
@mmozuras mmozuras Reuse PULLREQ_EDITMSG if creating pull request failed
Do it by deleting PULLREQ_EDITMSG if everything's ok. Fixes #178
e6711b6
@mislav mislav closed this issue from a commit
@mislav mislav improve preserving message from failed pull request
 - If text editor aborts, message is discarded.
 - If the API request to create the PR fails, message is kept.
 - If the API request succeeds, message is discarded.
 - When kept message is reused for subsequent PR, only its title and
   body get inserted. The PR instructions and changelog still get
   regenerated.

Fixes #178
a53f028
@mislav mislav closed this in a53f028
@mislav mislav referenced this issue from a commit
@mislav mislav improve preserving message from failed pull request
 - If text editor aborts, message is discarded.
 - If the API request to create the PR fails, message is kept.
 - If the API request succeeds, message is discarded.
 - When kept message is reused for subsequent PR, only its title and
   body get inserted. The PR instructions and changelog still get
   regenerated.

Fixes #178
1a5dae6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.