BitBucket

More
03 Oct 2012 13:32 - 03 Oct 2012 13:46 #1946 by kohansey
BitBucket was created by kohansey
Using BitBucket, how do I get my repository to update from PB's repo? If I browse to my repo and click the link to create pull request, my only option for source and destination is my own repository. If I browse to PB's repo, the create pull request link is gone, so how do I update my repo with the most recent changes?
Last edit: 03 Oct 2012 13:46 by kohansey.

Please Log in or Create an account to join the conversation.

More
03 Oct 2012 13:36 #1947 by FDR
Replied by FDR on topic BitBucket
You have to create a fork from his repo to be able to send pull requests.

Please Log in or Create an account to join the conversation.

More
03 Oct 2012 13:51 #1948 by kohansey
Replied by kohansey on topic BitBucket
I just created a fork of PB's deviation repo called deviation12 in my repo. However, I am still having the same problem. The link to pull request on PB's repo is missing and the link on my fork only allows me to choose my own repos.

Please Log in or Create an account to join the conversation.

More
03 Oct 2012 14:06 - 03 Oct 2012 14:06 #1949 by FDR
Replied by FDR on topic BitBucket
You have to use your own "create pull request" button to send one.
In my case the source on a new request defaults to my repo and the destination defaults to PB's.

Are you sure is that a fork?
Mine labelled like that:
"FDR / deviation (fork of PhracturedBlue / deviation)"
Last edit: 03 Oct 2012 14:06 by FDR.

Please Log in or Create an account to join the conversation.

More
03 Oct 2012 14:31 #1950 by FDR
Replied by FDR on topic BitBucket
Actually your repo is not on the list of forks:
bitbucket.org/PhracturedBlue/deviation/descendants

Please Log in or Create an account to join the conversation.

More
03 Oct 2012 16:04 #1956 by kohansey
Replied by kohansey on topic BitBucket
you are right, sorry about that. I believe I did the fork correctly this time. If you could please explain, for future reference, how I would update the fork with any changes from PB's repo?

Please Log in or Create an account to join the conversation.

More
03 Oct 2012 16:18 #1957 by kohansey
Replied by kohansey on topic BitBucket
Sorry missed your post on create a pull request. I'll give it a try the next time PB updates.

Please Log in or Create an account to join the conversation.

More
03 Oct 2012 17:29 #1959 by FDR
Replied by FDR on topic BitBucket
Pull request are to sign to him, that you have some changes he should pull from your repo.
You simply pull his repo into yours when you want (or he did some changes)...

Please Log in or Create an account to join the conversation.

More
04 Oct 2012 00:58 #1964 by PhracturedBlue
Replied by PhracturedBlue on topic BitBucket
There are 2 different 'pulls' in question here.
A 'pull request' is a message sent from you to me thatyou want me to merge your changes. This can be done within the bitbucket system
When you run 'hg pull -u' to update your database, you can pull from multiple locations. the default is your repository (not very interesting if you do all of your development on the same machine). You can specify where to pull from using:
hg pull -u PhracturedBlue@bitbucket.org/PhracturedBlue/deviation

you can make this the default by editing .hg/hgrc and adding these lines:
[paths]
default = https://bitbucket.org/PhracturedBlue/deviation
default-push = <your bitbucket repo here>
[ui]
username = <user> <email@whatever>

Please Log in or Create an account to join the conversation.

More
04 Oct 2012 17:30 #1989 by kohansey
Replied by kohansey on topic BitBucket
thanks PB that helps to straight things out.

Please Log in or Create an account to join the conversation.

Time to create page: 0.037 seconds
Powered by Kunena Forum