The best advice I've come across is here: https://moodle.org/mod/forum/discuss.php?d=191774#p834646
Not yet tried it myself, but it makes sense to me and others seem to have found it helpful (you certainly shouldn't ever need to use SVN!).
The best advice I've come across is here: https://moodle.org/mod/forum/discuss.php?d=191774#p834646
Not yet tried it myself, but it makes sense to me and others seem to have found it helpful (you certainly shouldn't ever need to use SVN!).
Thanks Davo. Now, I'm testing it..
I get the problem "No such strategy ... patience" in the next line
git merge --strategy-option=patience merge_helper_branch
Maybe the GIT version? Mine is 1.7.1.
I'll try to test without the "--strategy-option" but I'm not sure if this is a good idea
To quote Tim's original post: The --strategy-option=patience bit bascially tells git to try harder at sorting out merge conflicts.
Basically, it is non-essential, it just tells git to try a bit harder than usual.
Ok. Done with only 6 conflicts. I think it's great!
Do you know some fast-to-see new feature in order to check if the merge was more or less ok?
Thanks again Davo!
The best way to check would be to either do:
git diff MOODLE_24_STABLE..MY_BRANCH
# this will show all the changes from 2.4 => your custom branch
or
gitk MOODLE_24_STABLE..MYBRANCH
# this will show all the commits that are part of your branch, but not in 2.4
(assuming you have gitk installed, and if you don't, you should install it).
If you are working with github, you can also use that to get a nice comparison between the two branches.
Jean, I would also suggest running the PHPunit tests for Moodle to make sure nothing major is broken: http://docs.moodle.org/dev/PHPUnit