I can create a pull request to my repository (let's call it myrepo) from BitBucket and it goes to this URL and works fine:
https://bitbucket.org/my_company/my_repo/pull-requests/new?source=my_company/my_repo%3A%3Afeature/my_feature_branch
From within SourceTree using the same repository I go to create a pull request and it jumps to this URL in the browser and displays"That link has no power here":
https://bitbucket.org/my_company/my_repo/my_company/my_repo/pull-request/new?source=my_company/my_repo:70dec24473f5:feature%2fmy_feature_branch
So notice that my_company/my_repo appears twice and also pull-requests is used instead of pull_request (notice the extra 's').
It looks to me like the SourceTree URL is very different and thus will not work.
In the repository settings in SourceTree, all looks fine:
URL/Path is git@bitbucket.org:my_company/my_repo.git
Host Type is BitBucket
Host Root URL is https://bitbucket.org/my_company/my_repo
SourceTree Version 2.6.6.0
I had a similar issue. SourceTree was creating pull requests to the old repo's URL after we had migrated to a new account.
This is what worked for me:
Hope this helps.
Works great for the domain name, but when my "Identifier" is "projects/myProject" it takes me to
http://xxx.net/projects/myProject/repos/myRepo/pull-request/new?source=projects/CVS:be43e1564ffc:beforeme
instead of
http://xxx.net/projects/myProject/repos/myRepo/pull-requests?create
and I can't get that working. Still, nice find.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not sure if this was primary fix, but it started working for me after doing this. After refresh in settings, pull request opened correctly in Chrome. SourceTree version 2.5.5.0
Link provided.
I had this error appear randomly when it had been working for me before.
Here is the solution that worked for me:
On the settings page just remove the current remote that is there and then add the exact same one again. This must have refreshed it / woke it up and now I have no problems.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have same issue; although I do not have duplicate company and repo.
Browser reports "That link has no power here". tried Chrome and Firefox browsers. I can create the pull request if I go to bitbucket.org, but can not do it from SourceTree.
Answers?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
same issue on another board. but no answer either...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had the same issue. Notice you have two slashes after bitbucket.org in the url. If you close SourceTree, open up .git/sourcetreeconfig.json (in your repo folder), and take the trailing slash off the BaseUrl, save file and reopen ST, you should be good to go.
Mine had "BaseUrl": "https://bitbucket.org/"
I changed it to "BaseUrl": "https://bitbucket.org"
Good luck!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.