On Tuesday, January 22, 2013 11:11:00 AM UTC+1, Luís de Sousa wrote:
> Dear all,
> I have a basic SVN repo with a few tags marking code releases organised
> the following way:
> Where *src* is the trunk and all sub-folders of *releases* are tags
> created with *svn copy*. I've managed to migrate this repo using *git svn*,
> but the tags are not recognised as tags nor branches, git svn simply
> replicates the folder structure. I hape tried *svn2git*, but it doesn
> work on my system. I've also tried some tutorials, but these don't
> seem to apply to my particular repo structure.
> What would be correct procedure on this case? Thank you,
Use the --tags parameter to specify where the tags are (relative to your
clone url): http://www.kernel.org/pub/software/scm/git/docs/git-svn.html
This will first turn them into git branches. Convert them into Git tags as
explained here: http://thomasrast.ch/git/git-svn-conversion.html - under
the section "Changing tagging commits to tags"