SmartGit + SVN + Submodules

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

SmartGit + SVN + Submodules

SmartGit mailing list
Dear SmartGit,
 

 My company work with svn repository and we want to change our client program. We try use a local git with prevously used svn repository. We have got some big projects with lot of (100+) submodules. When I clone the repository I want to ignore every submodule's '/obj' folder. How can I do it once in the root? I don't want to repeat it every submodules.
 

 Please help me, because we want to buy your product and my task to check it.
 

 Thanks, Flavian!
Reply | Threaded
Open this post in threaded view
|

Re: SmartGit + SVN + Submodules

SmartGit mailing list
Hello Flavian,
Could you please clarify some details? You're using central SVN repository with SmartGit as a client, right? Are the submodules are kept in the SVN repository using svn:externals properties or are they just normal directories but you treat them as "submodules"?

If you're using svn:externals, SmartGit creates a number of Git repositories, one per each submodule. You're Pull:ing them recursively, right? And do I understand correctly that each (or many) of these repositories contain "obj/" directory?

Finally, what do you mean by "ignoring": do you want untracked (not versioned) files in those directories not to be shown (i.e. behaviour corresponding to .gitignore/svn:ignore) or do you want to exclude that (i.e. "obj/") directory from synchronization (assuming that directory is present in SVN and containing some tracked files SVN you don't want to get to Git)?

It would be helpful, if you drew the scheme of your repository schematically.
--
Best regards,
Dmitry Pavlenko
syntevo GmbH
http://www.syntevo.com


05/28/2015 22:10 - [hidden email] [smartgit] wrote:

> Dear SmartGit,
>  
>
>  My company work with svn repository and we want to change our client program. We
> try use a local git with prevously used svn repository. We have got some big
> projects with lot of (100+) submodules. When I clone the repository I want to
> ignore every submodule's '/obj' folder. How can I do it once in the root? I don't
> want to repeat it every submodules.
>  
>
>  Please help me, because we want to buy your product and my task to check it.
>  
>
>  Thanks, Flavian!
>
Reply | Threaded
Open this post in threaded view
|

Re: SmartGit + SVN + Submodules

SmartGit mailing list
he mailed a while ago as well, you may want to contact him directly instead
of on the list.

All the best,
Dee

On Thu, May 28, 2015 at 10:54 PM, syntevo Support [hidden email]
[smartgit] <[hidden email]> wrote:

>
>
> Hello Flavian,
> Could you please clarify some details? You're using central SVN repository
> with SmartGit as a client, right? Are the submodules are kept in the SVN
> repository using svn:externals properties or are they just normal
> directories but you treat them as "submodules"?
>
> If you're using svn:externals, SmartGit creates a number of Git
> repositories, one per each submodule. You're Pull:ing them recursively,
> right? And do I understand correctly that each (or many) of these
> repositories contain "obj/" directory?
>
> Finally, what do you mean by "ignoring": do you want untracked (not
> versioned) files in those directories not to be shown (i.e. behaviour
> corresponding to .gitignore/svn:ignore) or do you want to exclude that
> (i.e. "obj/") directory from synchronization (assuming that directory is
> present in SVN and containing some tracked files SVN you don't want to get
> to Git)?
>
> It would be helpful, if you drew the scheme of your repository
> schematically.
> --
> Best regards,
> Dmitry Pavlenko
> syntevo GmbH
> http://www.syntevo.com
>
> 05/28/2015 22:10 - [hidden email] [smartgit] wrote:
>
> > Dear SmartGit,
> >
> >
> > My company work with svn repository and we want to change our client
> program. We
> > try use a local git with prevously used svn repository. We have got some
> big
> > projects with lot of (100+) submodules. When I clone the repository I
> want to
> > ignore every submodule's '/obj' folder. How can I do it once in the
> root? I don't
> > want to repeat it every submodules.
> >
> >
> > Please help me, because we want to buy your product and my task to check
> it.
> >
> >
> > Thanks, Flavian!
> >
>  
>