Re: [git-users] How to convert SVN tags to Git

2013-01-22 Thread Luís de Sousa
On Tuesday, 22 January 2013 13:10:02 UTC+1, Konstantin Khomoutov wrote:

 Hence git-svn creates one remote branch in your local repository for 
 each tag in the Subversion repository. 


Hi Konstatin, thanks for the reply.

As I wrote initially, *git svn clone* doesn't create any branches: 

$ git branch -r
  git-svn

Can these branches be created after the *clone* command?

Thank you,

Luís


-- 




Re: [git-users] How to convert SVN tags to Git

2013-01-22 Thread Konstantin Khomoutov
On Tue, 22 Jan 2013 04:53:30 -0800 (PST)
Luís de Sousa luis.a.de.so...@gmail.com wrote:

  Hence git-svn creates one remote branch in your local repository
  for each tag in the Subversion repository. 
[...]
 As I wrote initially, *git svn clone* doesn't create any branches: 
 
 $ git branch -r
   git-svn
 
 Can these branches be created after the *clone* command?

`git svn clone` is `git svn init` + `git svn fetch`, so I assume they
should be.  At least it worked for me several times I did conversions.
I think you should tinker with the options specifying repository layout,
such as --tags=  My Subversion repos always had standard layout
(as recommended in the book) so I used --stdlayout with
`git svn init`; in your case a more complicated setup is called for.

--