Issue #8625 resolved

Cannot select destination pull request head

Nathan Goldbaum avatarNathan Goldbaum created an issue

Issue:

Cannot create pull request against the correct destination branch.

Issue description:

I have a pull request ( https://bitbucket.org/MatthewTurk/yt/pull-request/11/misc-fixes-fixes-and-tests-for-operations/diff) that I am unable to apply against the correct head on the destination repository. I am trying to pull request into the unitrefactor bookmark on the destination (when I opened the pull request, this was 943c100, since the PR has been merged manually now this changeset is no longer the head). When I view the pull request using the "Edit" button, I am able to choose the correct destination branch and the diff renders correctly.

Unfortunately, when I actually update the pull request, it appears as if the diff is against the Stable branch - a completely different head compared to the one I requested.

The strange this is, I was able to select the correct destination just a couple of days ago. However starting yesterday this appears to not work anymore.

This is for a mercurial repository. I have no idea if this problem is isolated to mercurial or is a general issue with bitbucket's branch pull request functionality.

Intended behavior:

I would like to be able to open pull requests against arbitrary heads in the destination repository.

Actual behavior:

I am currently only able to open pull requests against the "default" head.


For now we are reviewing contributions manually on this repository, obviously this is less than ideal. Please let us know if you discover anything or need more information.

Comments (4)

  1. Brodie Rao

    Hi Nathan,

    Thanks for the report. I've put out a fix that I think should address this. Can you try creating/editing the PR again and letting me know if it's working properly now?

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.