Click here to Skip to main content
15,887,413 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Currently i have a problem while migrating a svn repo to git. I followed the documentation on Git - Migration zu Git[^]

So i used
Shell
git svn clone https://srvserver/svn/Produktion/VB/VS2017/EmailVersand --prefix "" --no-metadata --authors-file svn-authors.txt -s EmailVersand
Also i used the proposed 3 for loops to modify tags and branches.

But i see nothing inside the Repository, just .git.

While cloning i'm got:

Initialized empty Git repository in EmailVersand/.git/
Using higher level of URL: https://srvserver/svn/Produktion/VB/VS2017/EmailVersand => https://srvserver/svn/Produktion
W: Ignoring error from SVN, path probably does not exist: (160013): Filesystem has no item: File not found: revision 100, path '/VB/VS2017/EmailVersand'
W: Do not be alarmed at the above message git-svn is just searching aggressively for old history.
This may take a while on large repositories


I also tried "--no-minimize-url": Then i'm getting:
W: Ignoring error from SVN, path probably does not exist: (160013): Filesystem has no item: '/svn/Produktion/!svn/rvr/100/VB/VS2017/EmailVersand' path not found


What can i do?

What I have tried:

I checked manually the path with
Shell
svn ls https://srvserver/svn/Produktion/VB/VS2017/EmailVersand 
and it shows me:
svn ls https://srvserver/svn/Produktion/VB/VS2017/EmailVersand
EmailVersand/
EmailVersand.sln
LogEmail/
SiB_Versand/
Posted
Updated 29-Nov-23 4:13am
v4

1 solution

I'd suggest to read this: Migrate from Subversion (SVN) to Git - Azure Repos | Microsoft Learn[^]

There's few steps to do:
- Prepare a migration environment
- Convert the source SVN repository to a local Git repository
- Advanced migrations
- Update your workflow
- Reference information

I believe you did the first one, but you forgot to do the second one. :)
 
Share this answer
 
Comments
Sascha Manns 30-Nov-23 3:49am    
You mean, i should do the git svn clone inside the SVN Repo?
Maciej Los 30-Nov-23 15:49pm    
I mean, you have to carefully read related article.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900