¿Cuál es el flujo de trabajo correcto para fusionar ramas rastreadas svn usando git-svn. He leído un poco sobre el git-svn svn.pushmergeinfo clave de configuración, y las advertencias son:git-svn flujo de trabajo para fusionar usando svn.pushmergeinfo
De http://www.kernel.org/pub/software/scm/git/docs/git-svn.html:
clave de configuración: svn.pushmergeinfo
Esta opción hará que git -svn a intento de llenar automáticamente la propiedad svn: mergeinfo en el repositorio SVN cuando sea posible. Actualmente, esto solo se puede hacer cuando commite fusiones sin avance rápido donde todos los padres pero el primer ya se han insertado en SVN.
Así que mi flujo de trabajo normal es:
Suponiendo que tengo una SVN rama ^/ramas/feature_branch
# Ensure git-svn is configured to populate svn:mergeinfo
git config --global svn.pushmergeinfo true
# Update my local svn remotes state
git svn fetch
# Track a local branch against a remote SVN backed ^/branches/feature_branch
git checkout -b local_feature_branch remotes/feature_branch
# Modify files and commit to local git repo
git commit -a -m "changes"
# Push changes to SVN branch ^/branches/feature_branch
git svn dcommit
Luego combinar hasta ^/tronco en mi local_feature_branch Asumo que hago algo así como ?
# Sync to the latest SVN
git svn fetch
# Rebase "master" which is tracking the remote SVN ^/trunk
git checkout master
git svn rebase
# Checkout the local_feature_branch
git checkout local_feature_branch
# Merge "master" into "local_feature" which is tracking ^/trunk
git merge --squash master
git commit -m "merge master which is tracking SVN ^/trunk"
# Dry run the dcommit to SVN which should include svn:mergeinfo property changes
git svn dcommit --dry-run
# Commit merge to trunk
git svn dcommit
Parece razonable. ¿De qué se trata la pregunta? –