subversion, tags and externals
It's been brought to my attention today (by my fellow developper hartym) that there is a HUGE problem with tags in subversion.
The problem is very simple, when you create a tag for your project, and that your project uses svn:externals (quite a common situation), externals in the tags ARE NOT FROZEN. Which means that, if you checkout your tag at a T time, and an external gets modified at T+x, a checkout at T+x will not be the same than the one at T.
Wow.
I'm going to seriously consider switching to git.
Comments
... or mercurial ;)
Quelque part, c'est logique puisque le tag, c'est juste un pointeur vers une révision du SVN... et par définition, un externals... c'est externe
Mais effectivement, ca peut devenir problématique...
Comme est géré ce cas dans git, Mercurial ou autres ?
Dans git je verrai bien un submodule, ou l'utilisation de Piston (rubyforge).
Dude, it's been years it's been like that. You must froze the revision by yourself in the externals declaration, eg. toto -r 312 http://toto.com/toto
Okay, I agree it's lame, but don't do git, use mercurial.
And python.