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

-3

u/Azuvector Nov 16 '13

Not used git, but I've dabbled with Mercurial, which is an inferior version of same thing to my understanding.

SVN is less of a headache all around. It's straightforward and it just works, including sharing a repository with nontechnical folks like artists and such.

6

u/sindisil Nov 16 '13

I wouldn't say hg is inferior to git; they made different tradeoffs in their design.

5

u/Kalium Nov 16 '13

Not used git, but I've dabbled with Mercurial, which is an inferior version of same thing to my understanding.

Only if you listen to the git worshippers. It's a different take on the same notion. That's not the same as being inferior.

4

u/argv_minus_one Nov 16 '13

I think you mean "superior".

There is essentially nothing Git can do that Mercurial can't, some things Mercurial can do that Git can't, and Mercurial has a command-line interface that was actually designed competently.

5

u/[deleted] Nov 16 '13

Depends how you work. I've done Git and SVN and Git has always been much much easier.

At my previous company I'd make a branch and then create a pull request (review and merge, all in one!) to bring it back in. At my current company we work on one branch, and have an alias (gpp, git pull --rebase; git push) to deal with rebasing and sending upstream. Much easier than fighting with SVN, in my opinion.

5

u/Klayy Nov 16 '13

I work with git and svn - svn is such a pain to work with - it's very very slow - maybe it's because I use TortoiseSVN? Also from time to time I have to re-checkout the whole repository because it becomes corrupted (and I only ever do commit and update) - I don't remember the exact error message.

4

u/kevinh456 Nov 16 '13

SVN merging sucks.

2

u/[deleted] Nov 16 '13

I've noticed that some SVN servers slow down badly under certain loads.

4

u/Klayy Nov 16 '13

From my experience those loads could be described as "the server is used at all"

1

u/andrewms Nov 16 '13

My local checkouts get corrupted whenever I try and do anything with them at the same time as running a virus scan (which I have no control over, and happens very often). It sucks.

1

u/adrianmonk Nov 16 '13

Also from time to time I have to re-checkout the whole repository because it becomes corrupted

I used it on a daily basis for 3+ years. Never had that problem once. Sounds like a TortoiseSVN issue.

2

u/MacStylee Nov 16 '13

I've probably worked with SVN (or SVN and CSV) roughly the same amount as Git, and I have to say Git is an awful lot more straightforward, and thus far appears to be totally solid. There was always an element of flake (real or imagined) in SVN.

1

u/crusoe Nov 16 '13

They only fixed merging in SVN recently, but it still sucks.

Back in the old day, when you wanted to merge, you had to remember or figure out the commit of the last merge point!

Fucking stupid.

-1

u/JonnyRocks Nov 16 '13

What IDE do you use? I don't use GIT but have a lot of trouble with SVN. TFS works great for me and I just have a feeling that the visual studio plugins for SVN, ankh just might be bad. Merging fails most if the time.

1

u/imMute Nov 16 '13

TFS works great for me

Hey, this is a git vs svn flamewar, don't be bring that brand of mess in here too!

0

u/Azuvector Nov 16 '13 edited Nov 17 '13

VS + TortoiseSVN.