Some changes in situation, as described here:
https://stackoverflow.com/questions/52114802/how-to-properly-initialize-git-svn-clone-of-a-repository-with-nonstandard-layout/52116190#52116190

To summaize, repository was fetched, but due to misunderstanding of -b flag 
of git svn init, i ended up with subfolders in a branch recognized as 
branches.

Hence following 2 questions:

1) how can one remove erroneous branch references from git svn working copy?
2) with git svn working copy only having fetched out trunk, how to add 
reference to branch, fetch it and checkout?

четверг, 30 августа 2018 г., 16:09:57 UTC+3 пользователь Иван Трусков 
написал:
>
> Hello! i am trying to set up git-svn on my machine, building it and things 
> it needs from source
>
> S|VN repository that i am trying to work with has the form of:
>
> repository_folder
> | -> Documents
> | ->ExtDocuments
> | -> projectname_pg
> | -> projectname_pg_dev
> | -> projectname_pg_server
> | -> projectname_pag_balance_change
>
> It also has svn:// url
>
> when i am trying to set things up, i do
>
> git svn init svn://server.url:port/ProjectName -T projectname_pg -b 
> projectname_pg_dev project
>
> > fatal: not a git repository (or any of the parent directories): .git
> > Initialized empty Git repository in 
> D:/projects/SecretSociety/ss_pg_dev/.git/
>
> cd project
>
> git svn fetch 
> > [svn-remote "svn"] unknown
>
>  cat .git/config
> > [core]
> >        repositoryformatversion = 0
> >        filemode = false
> >        bare = false
> >        logallrefupdates = true
> >        symlinks = false
> >        ignorecase = true
>
> All in all, nothing is fetched from git, no repository structure is shiwn 
> imported, not even notification is asked for.
>
> How should actions be performed instead? What should be done to determine 
> where the fault lines if commands are correct? More specifically, is it 
> possible that some necessary perl module is missing or not working yet does 
> not show that?
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to