Forwarding changes from one HG repository to another
I have recently cloned an HG 开发者_开发百科repository into another one, since the project had to be slightly changed and i couldn't keep it with the other codebase.
Some changes though are common, and so needed to be updated in the older repository as well.
How can this be done?
I'd like to know more specifically:
Are changes that are not group together in a commit (sporadic changes i've made to code files) can be somehow grouped together and updated in the 1st repository (the one i cloned from).
If not, how can this be done if i make all changes grouped in the same commit?
Other recommendations for strategies for handling such cases will be great!
Thanks
What problem are you seeing exactly? What have you tried?
Can you clarify the issue, it seems like you are just looking for a way to pull from another repo, in which case:
hg pull -r {RevisionYouWantFromOtherRepo} {pathToSecondRepository}
精彩评论