Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,385
Community Members
 
Community Events
165
Community Groups

Want to convert SVN repository into GIt

Hi ,

I have SVN repository (Data Size ~1.4 TB). I want to migarte it to Git .But due to heavy data size Git Clone method which i was referring  'https://www.atlassian.com/git/tutorials/migrating-overview 'is not useful in this case due to big data size.

So to tackle this i tried svn local data export and then below git commands in order to convert it to Git 

mkdir repo && cd repo
git svn init http://subversion/repo --no-metadata
git config svn.authorsfile ~/authors.txt
git svn fetch

but somehow not able to above init command and getting below error.

"svn: E235000: In file '/build/subversion-owKwd0/subversion-1.13.0/subversion/libsvn_subr/dirent_uri.c' line 1684: assertion failed (!"URI canonicalization failed")
error: git-svn died of signal 6"

after online search for above error tried brew package installation (my system is Ubuntu 20.04.4 LTS (GNU/Linux 5.13.0-1031-azure x86_64
) ,but this solution also not resolve my issue .hence again reverted brew installation.

After this though there is all required tools installed' java -jar  svn-migration-script.jar  verify' command gives below error ,

errors:
Can't load '/usr/local/lib/x86_64-linux-gnu/perl/5.30.0/auto/SVN/_Core/_Core.so' for module SVN::_Core: libsvn_diff-1.so.0: cannot open shared object file: No such file or directory at /usr/lib/x86_64-linux-gnu/perl/5.30/DynaLoader.pm line 193.
at /usr/local/lib/x86_64-linux-gnu/perl/5.30.0/SVN/Base.pm line 59.
BEGIN failed--compilation aborted at /usr/local/lib/x86_64-linux-gnu/perl/5.30.0/SVN/Core.pm line 5.
Compilation failed in require at /usr/share/perl5/Git/SVN/Utils.pm line 6.
BEGIN failed--compilation aborted at /usr/share/perl5/Git/SVN/Utils.pm line 6.
Compilation failed in require at /usr/share/perl5/Git/SVN.pm line 32.
BEGIN failed--compilation aborted at /usr/share/perl5/Git/SVN.pm line 32.
Compilation failed in require at /usr/lib/git-core/git-svn line 23.
BEGIN failed--compilation aborted at /usr/lib/git-core/git-svn line 23.
git-svn: ERROR: Unable to determine version.

Could you please help me how i can resolve this issue and then further start git conversion from my svn Export data .Please note exported SVN data having all revisions history information .

 

0 comments

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

61,650 views 127 27
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you