Voici un petit récap pour utiliser les branches de développement lorsque le code source est géré avec SVN.
Cet exemple est une version simplifiée/clarifiée d’un PowerPoint, disponible ici : http://subversion.tigris.org/servlets/ProjectDocumentList
Developer copies trunk to a new branch and notes revision of trunk
% svn cp –m “Creating branch”
http://my.repository.com/trunk
http://my.repository.com/branches/MY-BRANCHE
% svn log -v http://my.repository.com/branches/MY-BRANCHE
# Prints revision number, say 123
% svn co http://my.repository.com/branches/MY-BRANCHE
Work progresses in the branch. Time to merge work into trunk. But first, merge trunk changes to branch
% svn merge –r 123:HEAD http://my.repository.com/trunk .
# Test new code.
% svn commit –m "message"
# Revision 256.
Tree admin now merge changes into trunk
% cd /tmp
% svn co http://my.repository.com/trunk
% cd project
% svn merge . http://my.repository.com/branches/MY-BRANCHE
% svn commit –m "message"
Publié par Jérémy Lecour
Publié par Jérémy Lecour 