martes, 4 de noviembre de 2014

SVN: Branch of Branch (Copy of Branch)

¿Cómo hacer una rama de una rama en una revisión dada?


(How to Copy a Branch within a Folder in the Repository: Explain how to copy a given branch with a given version within another folder in the repository)

Para hacer un branch del branch en la revision 9999.

svn mkdir https://repos/repo/branches/BRANCH_copy -m 'Crete folder to new branch'

svn cp https://repos/repo/branches/BRANCH_01@9999 https://repos/repo/branches/BRANCH_copy -m 'Copy of BRANCH_01'

svn co https://repos/repo/branches/BRANCH_copy/BRANCH_01 WorkingCopy_BRANCH_copy --ignore-externals


Nota:
Para remover el branch hacemos:

svn rm https://repos/repo/branches/BRANCH_copy/BRANCH_01 -m 'Remove Copy of BRANCH_01'

No hay comentarios:

Publicar un comentario