this post was submitted on 17 Nov 2024
38 points (97.5% liked)

Open Source

31679 readers
805 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 13 comments
sorted by: hot top controversial new old
[–] dariusj18@lemmy.world 11 points 1 month ago (1 children)

Doesn't git have builtin svn repo conversion?

[–] Rikj000@discuss.tchncs.de 2 points 1 month 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.

[–] original_reader@lemm.ee 6 points 1 month ago (2 children)
[–] thingsiplay@beehaw.org 8 points 1 month ago (4 children)

Why would you want do that?

[–] itslilith@lemmy.blahaj.zone 6 points 1 month ago (1 children)

To test that SVN -> GIT works?

[–] thingsiplay@beehaw.org 4 points 1 month ago (1 children)

Actually pretty good reason.

[–] itslilith@lemmy.blahaj.zone 1 points 1 month ago (1 children)
[–] ReversalHatchery@beehaw.org 1 points 1 month ago (1 children)
[–] Rogue@feddit.uk 1 points 1 month ago

Because developing a tool solely for a roundtrip test is probably a waste of time. Perhaps it's an easier exercise than I think but I would have thought you could manually test it far quicker and more thoroughly than by automating the process

[–] corsicanguppy@lemmy.ca 3 points 1 month ago

I'm using RCS for a particular project. It's the best fit for the project.

[–] deadbeef79000@lemmy.nz 2 points 1 month ago

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

[–] original_reader@lemm.ee 2 points 1 month ago* (last edited 1 month 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/

[–] Rikj000@discuss.tchncs.de 5 points 1 month ago

Nope, only SVN => Git