this post was submitted on 17 Nov 2024
35 points (97.3% liked)

Open Source

36307 readers
1 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 7 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 2 years ago (1 children)

Doesn't git have builtin svn repo conversion?

[–] Rikj000@discuss.tchncs.de 2 points 2 years 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 5 points 2 years ago (2 children)
[–] thingsiplay@beehaw.org 8 points 2 years ago (4 children)

Why would you want do that?

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

To test that SVN -> GIT works?

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

Actually pretty good reason.

[–] itslilith@lemmy.blahaj.zone 1 points 2 years ago (1 children)
[–] ReversalHatchery@beehaw.org 1 points 2 years ago (1 children)
[–] Rogue@feddit.uk 1 points 2 years 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 2 years ago

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

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

[–] deadbeef79000@lemmy.nz 2 points 2 years ago

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

[–] Rikj000@discuss.tchncs.de 4 points 2 years ago

Nope, only SVN => Git