this post was submitted on 17 Nov 2024
26 points (100.0% liked)

Open Source

31243 readers
269 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

Simple Bash script to convert local SVN (Subversion) repositories to local Git repositories!

Source https://github.com/Rikj000/SVN-to-Git-convert#svn-to-git-convert

License GPLv3

top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 9 hours ago (1 children)

Doesn't git have builtin svn repo conversion?

[–] [email protected] 1 points 7 hours ago

Yes, the script uses git svn under the hood,
however it simplifies the process of a fair amount of steps,
to just x1 easy CLI command with an in/output parameter.

[–] [email protected] 6 points 9 hours ago (2 children)
[–] [email protected] 4 points 4 hours ago (3 children)

Why would you want do that?

[–] [email protected] 2 points 1 hour ago* (last edited 1 hour ago)

Thank you for asking.

In my particular use case we need strict access control.

Really depends on the situation.

More reading if you really want to know: https://www.theknowledgeacademy.com/blog/svn-vs-git/ https://www.linode.com/docs/guides/svn-vs-git/

[–] [email protected] 3 points 2 hours ago (1 children)

To test that SVN -> GIT works?

[–] [email protected] 2 points 1 hour ago (1 children)

Actually pretty good reason.

[–] [email protected] 1 points 13 minutes ago

not really, haha

[–] [email protected] 2 points 2 hours ago

I mean, the why is obvious. Whether anyone should do it is the real question ;-)

[–] [email protected] 4 points 7 hours ago

Nope, only SVN => Git