r/programming • • Nov 16 '13

What does SVN do better than git?

http://programmers.stackexchange.com/questions/111633/what-does-svn-do-better-than-git
599 Upvotes

494 comments sorted by

View all comments

-1

u/imfineny Nov 16 '13

Git encourages sloppy branch work.

7

u/andrewms Nov 16 '13

Whereas SVN encourages not branching at all.

3

u/[deleted] Nov 17 '13

Yep. SVN has taught most people that branches == bad. Several times now I've tried to convince teams that a (git) branch will solve a problem, and been unable to convince them, because they had so much pain managing SVN branches in the past.

1

u/imfineny Nov 17 '13

I used branching all the time in svn, I'm not sure where you got that people don't do branches in svn. The only reason why people didn't do branches in svn is because most people are so untrained that they don't know how to use a cvs that they didn't bother. Given how git is typically used, that it's not an improvement.

2

u/andrewms Nov 17 '13

People certainly do use it, but SVN does not make it easy. For example, on my current project at work, just creating and committing a branch takes more than an hour, so a lot of times I just don't do it. Part of that has to do with our repo server being fairly crappy, but still. What would take 30 seconds in git and be done very cleanly, is a very costly and messy process in SVN. And that is before we even get into merging back into the trunk.

1

u/imfineny Nov 17 '13

Don't fault svn for a crappy setup. You should hire an development operations engineer. If your manager can't understand a 325 / month investment in a support server is critical to ops then the manager should be replaced. Now I'm not saying svn is the answer, or git is better, but if you can't use svn properly, using git is not going to solve not knowing how to source control issue. It'll likely make it worse.

1

u/andrewms Nov 17 '13

That server/setup is used for all the repositories for a business unit that has annual revenues in multiple billions of dollars, with much of it being ITAR and export controlled and subject to government auditing. I have literally zero control over it, and neither does anyone else remotely connected to me.

And in terms of a comparison to git, I will fault svn for performing poorly on a crappy set up because git would perform orders of magnitude better on the same crappy set up.

0

u/imfineny Nov 17 '13

Wait, billions of dollars and no one can file req form to get a reasonable piece of hardware for a mission critical task, nor can you get a hold of someone who can? Run. Run fast and hard away from that BS company before it sucks your would away and turns you into a chimp.

If anyone else is reading this, this is ample enough proof of how people who have lots of money, especially if they are tied to the government probably don't deserve it.

1

u/andrewms Nov 17 '13

You have absolutely no idea what you are talking about. They chose stability, security, and availability over fast performance, which is exactly what they should do. Their setup is very stable and dependable, just a little bit slow. If the system is inaccessible, I have 4 different ways of requesting support, and as a work stoppage issue, it will have top priority.

But they are not going to take my unsolicited input on how to change their critical development infrastructure that almost certainly cost many tens of millions of dollars and where any downtime or lost data can easily cost many more millions of dollars because I think I should be able to update a little bit faster. They are slow, methodical, and deliberate, as they should be, since we build safety critical systems for the taxpayers. You may be used to start up or small company culture, but that is how big industry works everywhere.

My original point is that git performs much better in such an environment than svn does.

1

u/imfineny Nov 18 '13

I'm sorry, but this is just silly. If they can't get a fast, stable, secure and available environment on a reasonable budget, then they have no clue. I do this for a living buddy. I have some clue of what I'm talking about.

0

u/[deleted] Nov 16 '13

[deleted] — view deleted comment

1

u/imfineny Nov 17 '13

Git makes merging simple with its merge types, while merging in svn is precise and exact. In svn if you learn merging properly, it's more flexible and useful especially with sub branches. Git has pretty much just 2 or 3 practical work flows, and if your not rigorous with complying with that method, your going to spend your time in cherry pick.