10. Ветвление
release
“trunk”
bugfix branch
feature branch
feature X bugfix feature X
11. Слияние в SVN
Merge before commit
remote local
update
run tests; no errors
write code
error in run tests; no errors
commit?
error in
update + solve conflicts
merge?
run tests; errors
No commit to revert to!
12. Слияние в DVCS
Commit before merge
remote local
update
run tests; no errors
write code
Revert to
error in run tests; no errors
commit? working commit
make local commit and try again
error in
update + solve conflicts merge?
run tests; errors
13. Недостатки
• Потеря простоты модели
• Более, чем один путь сделать одно и
тоже
• Нельзя взять часть репозитория
• Надо читать доки :)